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

RE: Unknown Error in Soap Call



I think from the XML standard, that both are considered empty. However, I'm with Sean and it might be interpreted by the WS as being *null instead of empty. 

For grins, take it out since it is optional. Does that solve the problem?

Or put some value (blank?) in the value part and see if you can generate a different error. That actually goes for all the empty fields.


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Porterfield, Sean
Sent: Wednesday, July 13, 2011 12:56 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Unknown Error in Soap Call

My point was it's an empty string which is what the error says.  Your other empty fields are like  <E911Direction />
--
Sean Porterfield

-----Original Message-----
From: Jon S
Sent: Wednesday, July 13, 2011 13:37
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: Unknown Error in Soap Call


I am passing that in, but it optional anyway.


> From: SPorterfield@xxxxxxxxxxxxxxxxxxxxxxx
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Date: Wed, 13 Jul 2011 13:09:49 -0400
> Subject: RE: Unknown Error in Soap Call
>
> My guess:
>
> <E911City></E911City>
>
> --
> Sean Porterfield
>
>
>
> -----Original Message-----
> From: Jon S
> Sent: Wednesday, July 13, 2011 12:00
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Unknown Error in Soap Call
>
>
> I am trying to talk to a web service via Scott's HTTP api and I am getting and error I don't understand and was hoping someone cauld help. The error is:
>
> <faultstring>Server was unable to process request. ---&gt; String reference not set to an instance of a String.
>
> My xml is as follows:
>
> <?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
>
> - <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>
>
> <soap:Header />
>
> - <soap:Body>
>
>
> - <StellarMAX Type="SubDataQuery" UserName="officer">
>
>
> - <SubDataQuery>
>
>
> <E911HouseNum>723</E911HouseNum>
>
> <E911Direction />
>
> <E911Street>VERDUNDY RD</E911Street>
>
> <E911City></E911City>
>
> <E911State>AK</E911State>
>
> <E911Zip>47800-0000</E911Zip>
>
> <E911Apt />
>
> <MaxRecords>20</MaxRecords>
> </SubDataQuery>
> </StellarMAX>
> </soap:Body>
> </soap:Envelope>
>
> Any help would be appreciated.
>
> Thanks, Jon
>

This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged.  If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited.  Thank you.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
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
-----------------------------------------------------------------------