You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by robottaway <ro...@musiciansfriend.com> on 2006/10/26 18:30:27 UTC
JSR 181 component problems
I am trying to use the JSR 181 component to receive a String through SOAP and
pass that to another service on the Smix bus. I get these errors, and the
string going into the POJO's code is empty:
INFO - AegisBindingProvider - xsi:type="" was specified, but no
corresponding Type was registered; defaulting to
{http://www.w3.org/2001/XMLSchema}string
Oct 26, 2006 9:28:12 AM
org.mf.smix.axdatagateway.jsr181.AxDataGatewayService releaseXmlDocument
INFO: Xml doc:
So the AegisBindingProvider is having problems for some wierd reason, and
because of it I get no content passed in?
--
View this message in context: http://www.nabble.com/JSR-181-component-problems-tf2515070.html#a7014707
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: JSR 181 component problems
Posted by robottaway <ro...@musiciansfriend.com>.
Ok I can pass in a String, but not an XML document. Here is TCPMON for good
vs. bad SOAP requests:
Here is a good one, with the String 'cheese' passed in:
POST /AxDataGatewayService/ HTTP/1.1
Host: 172.16.10.243:9000
Content-Type: text/xml; charset=utf-8
Content-Length: 365
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: IBM Web Services Explorer
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Connection: close
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:q0="http://www.musiciansfriend.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<q0:releaseXmlDocument>
<q0:xmlDocument>Cheese</q0:xmlDocument>
</q0:releaseXmlDocument>
</soapenv:Body>
</soapenv:Envelope>
Here is a bad one with the XML document <ItemData>cheese</ItemData>:
POST /AxDataGatewayService/ HTTP/1.1
Host: 172.16.10.243:9000
Content-Type: text/xml; charset=utf-8
Content-Length: 398
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: IBM Web Services Explorer
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Connection: close
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:q0="http://www.musiciansfriend.com"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<q0:releaseXmlDocument>
<q0:xmlDocument><ItemData>cheese</ItemData></q0:xmlDocument>
</q0:releaseXmlDocument>
</soapenv:Body>
</soapenv:Envelope>
--
View this message in context: http://www.nabble.com/JSR-181-component-problems-tf2515070.html#a7017458
Sent from the ServiceMix - User mailing list archive at Nabble.com.