Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Number of attachments :
Description
wsdl is like
<wsdl:definitions targetNamespace="urn:DomainCommand">
<wsdl:types>
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://domaincommand.mydomain">
<xsd:complexType name="AddReq">
<xsd:sequence>
<xsd:element minOccurs="0" name="category" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="charset" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="locale" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="maxStorage" type="xsd:int"/>
<xsd:element minOccurs="0" name="maxUserCount" type="xsd:int"/>
<xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="password" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="sessionID" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="volumeCategory" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
....
client code is:
AddReq addReq = new AddReq();
addReq.setMaxUserCount(100);
addReq.setName(new JAXBElement<String>(new QName("http://domaincommandstub.mydomain", "name"), String.class, "test-domain.com"));
addReq.setPassword(new JAXBElement<String>(new QName("http://domaincommandstub.mydomain", "password"), String.class, "111111"));
AddResp addResp = domainStub.add(addReq);
soap is :
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<add xmlns="urn:DomainCommand">
<ns6:req xmlns:ns6="urn:DomainCommand" xmlns:ns2="http://domaincommandstub.mydomain">
<maxUserCount>100</maxUserCount>
<ns2:name>test-domain.com</ns2:name>
<ns2:password>111111</ns2:password>
</ns6:req>
</add>
</soap:Body>
</soap:Envelope>
the maxUserCount element is miss namespace,I have also tried xfire1.1.2 and it makes the correct soap message
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.2.2 [ 12886 ] |
| Fix Version/s | 1.2.2 [ 12886 ] |
OK, this doesn't look right, we'll see if we can fix