|
Re: Problem with SOAP envelope?: msg#00088php.nusoap.general
If you either 1. add "?debug=1" to the URL to which you POST, or 2. add the line "$debug = 1;" to your server code the response from the server will include its debug in an XML comment. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Chris Boget" <chris@xxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Tuesday, April 27, 2004 11:25 AM Subject: [Nusoap-general] Problem with SOAP envelope? I'm trying to send the following SOAP envelope to my soap server: ------------------------------ <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <!-- security credentials --> <s:credentials xmlns:s="urn:examples-org:security" soap:mustUnderstand="1"> <username/> <password/> </s:credentials> </soap:Header> <soap:Body> <IntegrusEPLLitePolicyInterface> <UserRecord> <firstname>Jerry</firstname> <lastname>Kroger</lastname> <company>TEST_Jerry K in CA - DBA:test wc CA dba</company> <address1>6 Newcastle Ln</address1> <address2/> <city>Laguna Niguel</city> <state>CA</state> <zip>90210</zip> <phone>9494702111</phone> <fax/> <email/> <billing_email/> </UserRecord> <org_structure>Sole Proprietor</org_structure> <naics_number>321912</naics_number> <primary_category>Lumber</primary_category> <sub_category>Cut Stock, Resawing Lumber, and Planing</sub_category> <fulltime_employee>5</fulltime_employee> <seasonal_employee>5</seasonal_employee> <riskman_product>Yes</riskman_product> <previous_claims>No</previous_claims> <claims_not_reported>No</claims_not_reported> <rdi_or_fpa>RDI</rdi_or_fpa> <material_facts>No</material_facts> <AttachedEndorsements> <endorsement_type/> <premium/> <premium_due/> <endorsement_body/> </AttachedEndorsements> <AttachedDocuments> <file_name/> <file_type/> <file_data/> </AttachedDocuments> </IntegrusEPLLitePolicyInterface> </soap:Body> </soap:Envelope> ------------------------------ but the server is giving me the following error: ------------------------------ <?xml version="1.0" encoding="ISO-8859-1" ?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:si="http://soapinterop.org/xsd"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>Server</faultcode> <faultactor /> <faultstring>error in msg parsing: XML error parsing SOAP payload on line 1: not well-formed (invalid token)</faultstring> <detail> <soapVal xsi:type="xsd:string" /> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ------------------------------ What I don't understand with the fault string is that I can run the envelope through XML Spy's validator and it says that it's well formed. So what's going on? Note: The above envelope is being sent to the NuSOAP server as a POST from an ASP script. Any ideas as to where I should concentrate my search to determine what is going wrong would be greatly appreciated! Chris ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Nusoap-general mailing list Nusoap-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problem with SOAP envelope?: 00088, Chris Boget |
|---|---|
| Next by Date: | Re: Problem with SOAP envelope?: 00088, Chris Boget |
| Previous by Thread: | Problem with SOAP envelope?i: 00088, Chris Boget |
| Next by Thread: | Re: Problem with SOAP envelope?: 00088, Chris Boget |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |