Hello, I try to consume a WS like which need this type of request <ns2:Login xmlns:ns2="http://_1.login.ws.linedata.com/ <http://_1.login.ws.linedata.com/> "> <userID>myUser</userID> <passwd>myPassword</passwd> </ns2:Login>
but when i trap message send by tuscany i get this : <ns2:Login xmlns:ns2="http://_1.login.ws.linedata.com/"> <arg0>myUser</arg0> <arg1>myPassword</arg1> </ns2:Login> then the WS send error because it not receive userID and passwd. the composite contain : <sca:reference name="Login" promote="ModificationAdresseMail/Login"> <sca:interface.java interface="com.linedata.ws.login._1.LoginPort"/> <sca:binding.ws name="Login" uri="http://wwwwwwww/mgrequest9" sca:wsdlLocation="http://wwwwww/wsdl/masteri_login.wsdl"/> </sca:reference> and the interface for service Login like this @Remotable public interface LoginPort { public java.lang.String Login( java.lang.String userID,java.lang.String passwd); I use it in my component implementation like this. login.Login("myUser","myPassword"); could you help me to configure or add somethings to Java code for send the good message to the WS. the only bad thing is the element name arg0 to userID and arg1 to passwd. thanks Gaetan
