-
1. Re: DII call with literal & xsi in SOAP request
noel.rocher Apr 27, 2005 12:07 PM (in response to noel.rocher)More test shows:
doing a client wrapped/literal with DII pointing on a RPC/literal endpoint is working in my case.call.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
-
2. Re: DII call with literal & xsi in SOAP request
jason.greene Apr 27, 2005 1:52 PM (in response to noel.rocher)Yuck, this is definately a bug in the axis call implementation. As a workaround you can cast the Call interface to org.jboss.webservice.client.CallImpl, and then call setOperationUse("literal") on the object. I would be carefull with using wrapped though, you could have unexpected behavior. Would you mind opening a JIRA issue?
Thanks,
-Jason -
3. Re: DII call with literal & xsi in SOAP request
jason.greene Apr 27, 2005 1:54 PM (in response to noel.rocher)Oh one last thing, make sure you call setOperationUse after you set the operation style (the latter overwrites the setting to encoded).
-Jason -
4. Re: DII call with literal & xsi in SOAP request
noel.rocher Apr 28, 2005 1:24 AM (in response to noel.rocher)Thanks Jason !
In fact doing a literal/wrapped is a very good workaround for us as wrapped/literal is what we want at the end for our attachments.
Only rpc/literal is possible for the endpoint. So when it will be possible to migrate to JBWS 2 with doc/lit endpoint, our clients will be already OK.
And between rpc/literal & wrapped/literal, only the wsdl is different. But we use DII and SOAP Requests are the same !
All is wonderful in a wonderful world ! -
5. Re: DII call with literal & xsi in SOAP request
sidazad Apr 28, 2005 2:56 PM (in response to noel.rocher)Noel, are DII or dynamic proxy clients supported for document/literal or document style services by JBossWS yet? If so, is there a tutorial on how to write these since I think they require some settings apart from the rpc/literal DII/Dynamic Proxy clients.
Thanks, Sid. -
6. Re: DII call with literal & xsi in SOAP request
thomas.diesler Apr 29, 2005 6:10 AM (in response to noel.rocher)Yes, the DII as well as dynamic proxy is supported with JBossWS. If you follow the WS4EE client programming model as described in the wiki you should not have a problem.
What is your motivation to use DII? -
7. Re: DII call with literal & xsi in SOAP request
sidazad Apr 29, 2005 9:26 AM (in response to noel.rocher)I don't have to use a DII Client. A Dynamic Proxy client would be fine for me. But I did follow the tutorial and ended up getting errors in the dynamic proxy. I posted those on :
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63230
I also posted the soap message that is being generated by the client and I suspect it has something to do with the settings related to document/literal style services. I couldn't find on the tutorial whether there is any additiona setup required for dynamic proxies for document literal services (as there is required for DIIs).
Thanks, Sid. -
8. Re: DII call with literal & xsi in SOAP request
thomas.diesler Apr 29, 2005 12:49 PM (in response to noel.rocher)A generated proxy is configured from the WSDl, which contains the style/use of the WS. There should be no additional configuration needed.