[ https://issues.apache.org/jira/browse/AXIS2-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048000#comment-13048000 ]
Hudson commented on AXIS2-5071: ------------------------------- Integrated in axis2-1.5 #148 (See [https://builds.apache.org/job/axis2-1.5/148/]) AXIS2-5071: Merged r1134438 to the 1.5 branch. veithen : Files : * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/pom.xml * /axis/axis2/java/core/branches/1_5/modules/kernel/src/org/apache/axis2/client/Stub.java * /axis/axis2/java/core/branches/1_5/modules/transport/http/pom.xml * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/java/org/apache/axis2/handlers * /axis/axis2/java/core/branches/1_5 * /axis/axis2/java/core/branches/1_5/modules/saaj/test/org/apache/axis2/saaj/TestUtils.java * /axis/axis2/java/core/branches/1_5/modules/kernel/src/org/apache/axis2/transport/http/util/QueryStringParser.java * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/resources/META-INF/module.xml * /axis/axis2/java/core/branches/1_5/modules/kernel/test/org/apache/axis2/transport/http/util/QueryStringParserTest.java * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/servlet * /axis/axis2/java/core/branches/1_5/modules/adb/src/org/apache/axis2/databinding/utils/MultirefHelper.java * /axis/axis2/java/core/branches/1_5/modules/tool/axis2-repo-maven-plugin * /axis/axis2/java/core/branches/1_5/modules/transport/http/src * /axis/axis2/java/core/branches/1_5/modules/distribution * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/applet * /axis/axis2/java/core/branches/1_5/modules/transport/local * /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AxisAdminServlet.java * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet * /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminAgent.java * /axis/axis2/java/core/branches/1_5/modules/parent * /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module > Failure to populate all members of an xs:sequence in a SOAP header > ------------------------------------------------------------------ > > Key: AXIS2-5071 > URL: https://issues.apache.org/jira/browse/AXIS2-5071 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.5.5, 1.6.0 > Environment: MacOSX Leopard, Apache AXIS 1.6.0, Java 1.6.0_24 > Reporter: David Green-Lank > Assignee: Andreas Veithen > Fix For: 1.5.6, 1.6.1, 1.7.0 > > Attachments: Screen shot 2011-06-10 at 8.11.15 AM.png, mytest.wsdl > > > There is a soap header declared in the wsdl that points to an element: > <xs:element name="authentication"> > <xs:complexType> > <xs:sequence> > <xs:element name="username" type="xs:string"/> > <xs:element name="password" type="xs:string"/> > </xs:sequence> > <xs:anyAttribute namespace="##other"/> > </xs:complexType> > </xs:element> > After running "sh wsdl2java.sh -uri <uri>" to create stubs, and I populate > that element with: > MyTestServiceStub stub = new MyTestServiceStub(); > MyTestServiceStub.Authentication auth = new > MyTestServiceStub.Authentication(); > auth.setUsername( "username" ); > auth.setPassword( "password" ); > stub.operation( new MyTestServiceStub.Operation(), auth, null ); > The following SOAP envelope is sent: > <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header><ns1:authentication > xmlns:ns1="urn:mytest" > soapenv:mustUnderstand="false"><ns1:username>username</ns1:username></ns1:authentication></soapenv:Header><soapenv:Body><ns1:operation > xmlns:ns1="urn:mytest" /></soapenv:Body></soapenv:Envelope> > Notice the supplied password element is missing. > Screenshot attached. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org