aspose file tools
The moose likes Web Services and the fly likes Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet" Watch "Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet" New topic
Author

Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet

Jayaseelan Shanmugam
Greenhorn

Joined: Mar 06, 2005
Posts: 7
Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet:

The error as follows:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org
/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>service 'http://schemas.xmlsoap.org/soap/envelope/' unkno
wn</faultstring>
<faultactor>/WebServiceServer/messagerouter</faultactor>
</SOAP-ENV:Fault>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

Please post the soap message which gave you this error.


Please ignore post, I have no idea what I am talking about.
Jayaseelan Shanmugam
Greenhorn

Joined: Mar 06, 2005
Posts: 7
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Header>
</SOAP-ENV:Header>

<SOAP-ENV:Body>
<purchaseOrder xmlns="urn reilly-jaws-samples">
<shipTo country="US">
<name>JaySee</name>
<Street>Sigamani Nagar</Street>
<City>Chennai</City>
<State>Tamil Nadu</State>
</shipTo>
<items partNum="999-JJJ">
<productName>Candy Canes</productName>
<quantity>999</quantity>
<price>1.68</price>
<comment>I want Candy!</comment>
</items>
</purchaseOrder>

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 965

Are you attempting to pass a single quote in your message without xml encoding it? Are you using the word OReilly with a single quote?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not recognize the SOAP XML Namespace while invoking MessageRouterServlet
 
Similar Threads
Soap Envelope not version 1.1
Axis rejects int parameter
Writing a MS Client to access a Java SOAP Service
Serialization Error
UTF-8 SAX exception- HELP!