on 01-02-2006 2:28 PM
Hi,
I have a webservice that needs three complex types. I try to fill these complex types and add them to the Complex type param. This is my code:
ComplexType_BAPI_SALESORDER_CREATEFROMDAT1 param = new ComplexType_BAPI_SALESORDER_CREATEFROMDAT1();
BAPISDHEAD bapishead = new BAPISDHEAD();
//adding the parameters
bapishead.setBILL_BLOCK(""); bapishead.setCD_CU_ISO1("");
...
msgMgr.reportSuccess("bapishead "+bapishead.getSALES_ORG());
param.setORDER_HEADER_IN(bapishead);
msgMgr.reportSuccess("orderHeadersin"+param.getORDER_HEADER_IN().getSALES_ORG());
The complex type bapishead contains the parameters I have added but the parameter param doesn't have the parameters. This is the output I get:
bapishead 0001
orderHeadersin null
Fehler java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [ORDER_HEADER_IN] of class [gg.proxies.types.BAPI_SALESORDER_CREATEFROMDAT1] must exist and can not be null. This is required by schema description.
What could be missing?
Thank you!
Julia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.