on 2022 Jan 11 9:47 AM
We are developing a function to register accounting vouchers in Java, but when we try to register CustomFields, we get the error "cannot null" even though we have set the value.
I am thinking that the error "null" may be caused by not being able to set the namespace yy1 in SOAP Envelop.
Please tell me how to add namespace to SOAP Envelop in the ServiceStab Java generated from WSDL.
We believe that namespace can be added by modifying the following source code in ServiceStab.java automatically generated by Axis2 from the WSDL.
// create SOAP envelope with that payload
org.apache.axiom.soap.SOAPEnvelope env = null;
env =
toEnvelope(
getFactory(_operationClient.getOptions().getSoapVersionURI()),
journalEntryBulkCreateRequest0,
optimizeContent(
new javax.xml.namespace.QName(
"http://sap.com/xi/SAPSCORE/SFIN",
"journalEntryCreateRequestConfirmation_In")),
new javax.xml.namespace.QName(
"http://sap.com/xi/SAPSCORE/SFIN", "JournalEntryBulkCreateRequest"));
Request clarification before answering.
hi k-fuji2458 - Can you please suggest that your issue has been resolved. Is there any thing related to this post we can help you with.
Junaid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi junaid.alam1976 ,
I'm sorry I haven't been in touch with you.
I was able to resolve this issue by modifying the logic in the class generated from the WSDL.
Thank you for your support.
Best Regards, Kento
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.