|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Namespace Behaviour differs between jcdk 1.6_3 and 1.6_7 may i specify it?hi *,
we are using jax-ws with netbeans and IBM content manager 8.4 and we are having the following problem: when doing requests with 1.6_3 the request look like this: POST /CMBSpecificWebService/services/CMWebService HTTP/1.1 Authorization: Basic aWNtdGVzdDppY210ZXN0 Content-Length: 915 SOAPAction: "urn:CreateItem" Accept: text/xml, application/xop+xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: text/xml; charset=utf-8 User-Agent: Java/1.6.0_03 Host: example.com:9080 Connection: keep-alive <?xml version="1.0" ?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.ibm.com/xmlns/db2/cm/beans/1.0/schema" xmlns:ns2="http://www.ibm.com/xmlns/db2/cm/api/1.0/schema"> <soapenv:Body> <ns1:CreateItemRequest> <ns1:AuthenticationData> <ns1:ServerDef> <ns1:ServerType>ICM</ns1:ServerType> <ns1:ServerName>icmnlsdb</ns1:ServerName> </ns1:ServerDef><ns1:LoginData> <ns1:UserID>some</ns1:UserID> <ns1:Password>some</ns1:Password> </ns1:LoginData> </ns1:AuthenticationData> <ns1:Item> <ns1:ItemXML> <ns1:test20080721 alphanum32="666"> <ns1:ICMBASE> <ns2:resourceObject MIMEType="text/plain"> <ns2:label name="some"/> </ns2:resourceObject> </ns1:ICMBASE> </ns1:test20080721> </ns1:ItemXML> </ns1:Item> <ns1:mtomRef MimeType="text/plain" ID="some">VGVzdDByMXowcg==</ns1:mtomRef> </ns1:CreateItemRequest> </soapenv:Body> </soapenv:Envelope> but when doing it with 1.6_7 the request (same code) looks like this: POST /CMBSpecificWebService/services/CMWebService HTTP/1.1 Authorization: Basic aWNtdGVzdDppY210ZXN0 SOAPAction: "urn:CreateItem" Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Content-Type: multipart/related;type="application/xop+xml";boundary="uuid:ff83e43b-994f-4eb2-a2b2-b725ead5118d";start-info="text/xml" User-Agent: Java/1.6.0_07 Host: example.com:9080 Connection: keep-alive Content-Length: 1045 --uuid:ff83e43b-994f-4eb2-a2b2-b725ead5118d Content-Type: application/xop+xml;charset=utf-8;type="text/xml" Content-Transfer-Encoding: binary <?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:CreateItemRequest xmlns:ns2="http://www.ibm.com/xmlns/db2/cm/beans/1.0/schema" xmlns:ns1="http://www.ibm.com/xmlns/db2/cm/api/1.0/schema"> <ns2:AuthenticationData> <ns2:ServerDef> <ns2:ServerType>ICM</ns2:ServerType> <ns2:ServerName>icmnlsdb</ns2:ServerName> </ns2:ServerDef> <ns2:LoginData> <ns2:UserID>some</ns2:UserID> <ns2:Password>some</ns2:Password> </ns2:LoginData></ns2:AuthenticationData> <ns2:Item> <ns2:ItemXML> <ns2:test20080721 alphanum32="666"> <ns2:ICMBASE> <ns1:resourceObject MIMEType="text/plain"> <ns1:label name="some"> </ns1:label> </ns1:resourceObject> </ns2:ICMBASE> </ns2:test20080721> </ns2:ItemXML> </ns2:Item> <ns2:mtomRef MimeType="text/plain" ID="some">VGVzdDByMXowcg==</ns2:mtomRef> </ns2:CreateItemRequest> </S:Body> </S:Envelope> --uuid:ff83e43b-994f-4eb2-a2b2-b725ead5118d-- can i somehow influence that jax-ws does all the namespacing stuff in Envelope? because the way that 1.6_7 does is not understood by IBM content manager. regards chris [Message sent by forum member 'eingfoan' (eingfoan)] http://forums.java.net/jive/thread.jspa?messageID=296552 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Namespace Behaviour differs between jcdk 1.6_3 and 1.6_7 may i specify it?This is not configurable.
Its strange that the content manager you are using expects all the namespace declarations on the soap-env:Envelope. [Message sent by forum member 'ramapulavarthi' (ramapulavarthi)] http://forums.java.net/jive/thread.jspa?messageID=297292 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Namespace Behaviour differs between jcdk 1.6_3 and 1.6_7 may i specifyi was hoping that it would not be like that...
thanks for the answer anyway. regards chris [Message sent by forum member 'eingfoan' (eingfoan)] http://forums.java.net/jive/thread.jspa?messageID=297307 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |