hi, all
I know the request/response SOAP message
ex:
==>request SOAP body is:
<soap:Envelope ...>
<soap:Body>
<cwmp:Inform>
<cwmp:DeviceId>
<cwmp:Manufacturer>ABC</cwmp:Manufacturer>
<cwmp:OUI>ABC</cwmp:OUI>
</DeviceId>
<cwmp:Event soapenc:arrayType="cwmp:EventStruct[2]">
<cwmp:EventStruct>
<cwmp:EventCode>0 BOOTSTRAP<cwmp:EventCode>
<cwmp:CommandKey>0</cwmp:CommandKey>
</cwmp:EventStruct>
<cwmp:EventStruct>
<cwmp:EventCode>1 BOOTSTRAP<cwmp:EventCode>
<cwmp:CommandKey>1</cwmp:CommandKey>
</cwmp:EventStruct>
</cwmp:Event>
</cwmp:Inform>
</soap:Body>
</soap:Envelope>
==>response SOAP body is
<soap:Envelope ...>
<soap:Body>
<cwmp:InformResponse>
<cwmp:MaxEvenlopes xsi:type="xsdUnsignedInt">1</cwmp:MaxEvenlopes>
</cwmp:InformResponse>
</soap:Body>
</soap:Envelope>
And I have the cwmp's xsd file.
Then, how to generate customer Java Class for my servce's opertion?
My Servce's opertion likes
public ? inform(DeviceId device, EventStruct[] event) {...}
Thanks!
Guo