SOAP request that does not work:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://com.angel.api/">
<soapenv:Body>
<com:updateAccount>
<com:emailAddress>[EMAIL PROTECTED]</com:emailAddress>
<com:firstName>Rajesh</com:firstName>
<com:lastName>Ramchander</com:lastName>
<com:phone>703-270-2315</com:phone>
<com:pin>1234</com:pin>
<com:timeZone>EST</com:timeZone>
</com:updateAccount>
</soapenv:Body>
</soapenv:Envelope>
SOAP response for above request:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header/>
<env:Body>
<env:Fault>
env:Client
org.jboss.ws.binding.BindingException:
org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: The prefix "com"
for element "com:emailAddress" is not bound. @ *unknown*[2,31]
</env:Fault>
</env:Body>
</env:Envelope>
Modified SOAP request that does work:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="http://com.angel.api/">
<soapenv:Body>
<com:updateAccount>
<com:emailAddress xmlns:com="http://com.angel.api/">[EMAIL
PROTECTED]</com:emailAddress>
<com:firstName
xmlns:com="http://com.angel.api/">Rajesh</com:firstName>
<com:lastName
xmlns:com="http://com.angel.api/">Ramchander</com:lastName>
<com:phone
xmlns:com="http://com.angel.api/">703-270-2315</com:phone>
<com:pin xmlns:com="http://com.angel.api/">1234</com:pin>
<com:timeZone xmlns:com="http://com.angel.api/">EST</com:timeZone>
</com:updateAccount>
</soapenv:Body>
</soapenv:Envelope>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977363#3977363
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977363
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user