[jboss-user] [JBoss Web Services Users] - jbossws does not emit xml declaration on soap response

sverker do-not-reply at jboss.com
Thu Nov 19 11:20:16 EST 2009


Hi,
I'm trying to implement a webservice for a Microsoft Office protocol. It identifies itself as User-Agent: SOAP Toolkit 3.0. However I can't get it to work and now I've been able to decode the acctual SSL traffic. I'm comparing what my service responds with a working service.

The only difference I can see (except for the server header and some X- headers which shouldn't matter is that JbossWS starts the soap response like this:

<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body>

while Microsoft-IIS/7.0 starts it like this:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>

I'd be supprise if it's the namespace declarations (soap, xsi and xsd vs env) that cause the problem, although may be. Apart from that the difference is that IIS emits a xml declaration and it use double quote for the namespace declaration in envelope while JbossWS use single quote.

Is it possible to configure JbossWS to output like IIS in this case?

Any experience on interoperability on this user agent with JbossWS?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266597#4266597

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266597



More information about the jboss-user mailing list