[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: SetError() #13 - An Exception was thrown into the server



I believe that is a normal way of specifying an empty element. You can either write an empty element as <elementname></elementname> or simply <elementname />. I think it's called a self-closing element.


-----Oprindelig meddelelse-----
Fra: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] På vegne af Max Buda
Sendt: 27. januar 2015 18:11
Til: HTTPAPI and FTPAPI Projects
Emne: Re: SetError() #13 - An Exception was thrown into the server

Charles,
did you notice that the <soapenv:Header/> tag does not have a closing tag, according to SoapUI ?
Is it normal for the tag to have a "/" at the end ?
I'm not sure any of this has any significance or any impact on the error, but at this point I'm pulling at straws.




Max Buda
DSC Logistics
1750 S. Wolf Road
Des Plaines, IL  60018
Phone: (847) 635-4498

On Tue, Jan 27, 2015 at 10:36 AM, Max Buda <max.buda@xxxxxxxxxxxxxxxxx>
wrote:

> Charles,
> I did exactly as you suggested.
> The tags you mention are missing on purpose.
> During our latest test the developer on the other end suggested we run 
> a test without the two tags.
> With the two tags the result is the same.
>
>
>
> Max Buda
> DSC Logistics
> 1750 S. Wolf Road
> Des Plaines, IL  60018
> Phone: (847) 635-4498
>
> On Tue, Jan 27, 2015 at 10:29 AM, Charles Wilt 
> <charles.wilt@xxxxxxxxx>
> wrote:
>
>>    If you open the WSDL in SOAPUI, you'll see what the XML you send should
>>    look like...
>>    Upon a quick glance, it appears you are missing
>>    Â  Â <soapenv:Header/>
>>    Â  Â <soapenv:Body
>>    </soapenv:Body>
>>    Charles
>>
>>    On Tue, Jan 27, 2015 at 10:49 AM, Max Buda
>>    <[1]max.buda@xxxxxxxxxxxxxxxxx> wrote:
>>
>>      Â  Â Sorry, I forgot to include the wsdl.
>>      Â  Â See the attachment.
>>      Â  Â Max Buda
>>      Â  Â DSC Logistics
>>      Â  Â 1750 S. Wolf Road
>>      Â  Â Des Plaines, IL ย 60018
>>      Â  Â Phone: [2](847) 635-4498
>>      Â  Â On Tue, Jan 27, 2015 at 9:32 AM, Charles Wilt
>>      Â  Â <[1][3]charles.wilt@xxxxxxxxx> wrote:
>>      Â  Â  Â ยÂ  ย The error message: "Parameters xmldata,
>>      $filestream and
>>      Â  Â  Â $filedata are
>>      Â  Â  Â ยÂ  ย all missing. One of these must not be null."
>>      Â  Â  Â ยÂ  ย Leads me to conclude you are not access the
>>      service correctly.
>>      Â  Â  Â ยÂ  ย Did you get any documentation or a WSDL that
>>      describes how to
>>      Â  Â  Â use the
>>      Â  Â  Â ยÂ  ย service?
>>      Â  Â  Â ยÂ  ย If it's a SOAP webservice, you should have gotten
>>      a WSDL.
>>      Â  Â  Â ยÂ  ย If it's not a SOAP webservice, then treating it
>>      like one isn't
>>      Â  Â  Â going to
>>      Â  Â  Â ยÂ  ย work.
>>      Â  Â  Â ยÂ  ย Judging from the error message, I suspect that the
>>      service is
>>      Â  Â  Â expecting
>>      Â  Â  Â ยÂ  ย multi-part form data...
>>      Â  Â  Â ยÂ  ย In which case, you're going to need the
>>      http_mfd_encoder_xxx()
>>      Â  Â  Â ยÂ  ย procedures.
>>      Â  Â  Â ยÂ  ย Charles
>>      Â  Â  Â ยÂ  ย On Tue, Jan 27, 2015 at 10:01 AM, Max Buda
>>      Â  Â  Â ยÂ  ย <[1][2][4]max.buda@xxxxxxxxxxxxxxxxx> wrote:
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร We have been struggling with an
>>      error, returned as a
>>      Â  Â  Â result of
>>      Â  Â  Â ยÂ  ยÂ  ย our
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร request
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร to a web service.รรยÂ
>>      The company who developed the
>>      Â  Â  Â web service
>>      Â  Â  Â ยÂ  ยÂ  ย has not
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร been able to pinpoint the
>>      problem and I couldn't find
>>      Â  Â  Â anything
>>      Â  Â  Â ยÂ  ยÂ  ย in the
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร archive.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร So, I'm hoping you can help.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร The error is:
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร SetError() #13: HTTP/1.1 500
>>      [ISS.0088.9112] An
>>      Â  Â  Â Exception was
>>      Â  Â  Â ยÂ  ยÂ  ย thrown in
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร the server:[ISS.0086.909
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร HTTP/1.1 500 [ISS.0088.9112] An
>>      Exception was thrown
>>      Â  Â  Â in the
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร server:[ISS.0086.9091]
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร Parameters xmldata, $filestream
>>      and $filedata are all
>>      Â  Â  Â ยÂ  ยÂ  ย missing.รรยÂ  One of
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร these must not be null.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร For the purpose of testing I am
>>      using http_url_post,
>>      Â  Â  Â but
>>      Â  Â  Â ยÂ  ยÂ  ย ultimately we
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร plan to use http_url_post_xml.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร Here are the related lines of
>>      code:
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร http_debug(*On: @wDebugFil)
>>      ;ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร @wRetCode = http_url_post(@wURL
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : %Addr(@wPostDta) รรยÂ
>>      รรยÂ  รรยÂ  รรยÂ  รรยÂ  รรยÂ
>>      รรย
>>      Â  Â  Â รรยÂ  รรยÂ  รรยÂ  รร
>>      Â  Â  Â ยÂ  ยÂ  ย รรยÂ  ร ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : %Len(@wPostDta) รรยÂ
>>      รรยÂ  รรยÂ  รรยÂ  รรยÂ  รรยÂ
>>      รรย
>>      Â  Â  Â รรยÂ  รรยÂ  รรยÂ  รร
>>      Â  Â  Â ยÂ  ยÂ  ย รรยÂ  รรยÂ  ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร :
>>      '/QOPENSYS/Max/Project140099/httpResp.xml'ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : Http_Timeout
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : Http_UserAgent รรยÂ
>>      รรยÂ  รรยÂ  รรยÂ  รรยÂ  รรยÂ
>>      รรย
>>      Â  Â  Â รรยÂ  รรยÂ  รรยÂ  รร
>>      Â  Â  Â ยÂ  ยÂ  ย รรยÂ  รรยÂ  ร ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : 'text/xml' รรยÂ
>>      รรยÂ  รรยÂ  รรยÂ  รรยÂ  รรยÂ
>>      รรยÂ  รรย
>>      Â  Â  Â รรยÂ  รรยÂ  รรยÂ  รร
>>      Â  Â  Â ยÂ  ยÂ  ย รรยÂ  รรยÂ  รรยÂ  ร ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร : @wSoapAction) ; รรยÂ
>>      รรยÂ  รรยÂ  รรยÂ  รรยÂ  รรยÂ
>>      รรย
>>      Â  Â  Â รรยÂ  รรยÂ  รรยÂ  รร
>>      Â  Â  Â ยÂ  ยÂ  ย รรยÂ  รรยÂ  ร
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร I am attaching the debug
>>      document.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร Any help you can provide is
>>      greatly appreciated.
>>      Â  Â  Â ยÂ  ยÂ  ย รยÂ  ร Max Buda
>>      Â  Â  Â ยÂ  ย
>>      Â  Â  Â ย
>>      ------------------------------------------------------------------
>>      Â  Â  Â --
>>      Â  Â  Â ยÂ  ยÂ  ย ---
>>      Â  Â  Â ยÂ  ยÂ  ย This is the FTPAPI mailing list.รยÂ  To
>>      unsubscribe, please
>>      Â  Â  Â go to:
>>      Â  Â  Â ยÂ  ยÂ  ย
>>      [2][3][5]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      Â  Â  Â ยÂ  ย
>>      Â  Â  Â ย
>>      ------------------------------------------------------------------
>>      Â  Â  Â --
>>      Â  Â  Â ยÂ  ยÂ  ย ---
>>      Â  Â  Â References
>>      Â  Â  Â ยÂ  ย 1. mailto:[4][6]max.buda@xxxxxxxxxxxxxxxxx
>>      Â  Â  Â ยÂ  ย 2.
>>      [5][7]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      Â  Â
>>      Â ------------------------------------------------------------------
>>      --
>>      Â  Â  Â ---
>>      Â  Â  Â This is the FTPAPI mailing list.ยÂ  To unsubscribe, please
>>      go to:
>>      Â  Â  Â [6][8]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      Â  Â
>>      Â ------------------------------------------------------------------
>>      --
>>      Â  Â  Â ---
>>      References
>>      Â  Â 1. mailto:[9]charles.wilt@xxxxxxxxx
>>      Â  Â 2. mailto:[10]max.buda@xxxxxxxxxxxxxxxxx
>>      Â  Â 3. [11]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      Â  Â 4. mailto:[12]max.buda@xxxxxxxxxxxxxxxxx
>>      Â  Â 5. [13]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      Â  Â 6. [14]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      --------------------------------------------------------------------
>>      ---
>>      This is the FTPAPI mailing list.  To unsubscribe, please go to:
>>      [15]http://www.scottklement.com/mailman/listinfo/ftpapi
>>      --------------------------------------------------------------------
>>      ---
>>
>> References
>>
>>    1. mailto:max.buda@xxxxxxxxxxxxxxxxx
>>    2. tel:%28847%29%20635-4498
>>    3. mailto:charles.wilt@xxxxxxxxx
>>    4. mailto:max.buda@xxxxxxxxxxxxxxxxx
>>    5. http://www.scottklement.com/mailman/listinfo/ftpapi
>>    6. mailto:max.buda@xxxxxxxxxxxxxxxxx
>>    7. http://www.scottklement.com/mailman/listinfo/ftpapi
>>    8. http://www.scottklement.com/mailman/listinfo/ftpapi
>>    9. mailto:charles.wilt@xxxxxxxxx
>>   10. mailto:max.buda@xxxxxxxxxxxxxxxxx
>>   11. http://www.scottklement.com/mailman/listinfo/ftpapi
>>   12. mailto:max.buda@xxxxxxxxxxxxxxxxx
>>   13. http://www.scottklement.com/mailman/listinfo/ftpapi
>>   14. http://www.scottklement.com/mailman/listinfo/ftpapi
>>   15. http://www.scottklement.com/mailman/listinfo/ftpapi
>>
>> ---------------------------------------------------------------------
>> -- This is the FTPAPI mailing list.  To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> ---------------------------------------------------------------------
>> --
>>
>>
>

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------