I use JAX WS to generate the stub classes based on wsdl. I can call web service passing my object.
How can I find the outbound xml that represents my java object?
If you use "glassfish" as your Application/Web -server, you can add the followingparameters (<yourDomain>/config/domain.xml):<jvm-options>-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true</jvm-options><jvm-options>-Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true</jvm-options>or<jvm-options>-Dcom.sun.metro.soap.dump=true</jvm-options>You have to restart your server.Then have a look in the server.log file....Or use TCPmon: <a target="_blank" href="http://ws.apache.org/commons/tcpmon/download.cgi">http://ws.apache.org/commons/tcpmon/download.cgi</a>Or use "SoapUI" to send requests and see your responses.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.