You need to sign in to do that
Don't have an account?
Siju
How to pass an an attribute to XML message in SOAP webservice
How to pass an an attribute to XML message in SOAP webservice callout .
Example I want to pass mac:bar
**WSDL - Imported in SOAP UI**
<foo mac:bar="TestAttribute">Test data</foo>
**APEX Generated from WSDL**
public String bar;
private String[] bar_att_info = new String[]{'bar'};
**APEX Stub**
dtRT.bar='TestBarData';
The request that I am passing from Apex is not having the mac:bar="TestAttribute" . SOAP UI everything is working fine . Any pointers are helpful .thanks
Example I want to pass mac:bar
**WSDL - Imported in SOAP UI**
<foo mac:bar="TestAttribute">Test data</foo>
**APEX Generated from WSDL**
public String bar;
private String[] bar_att_info = new String[]{'bar'};
**APEX Stub**
dtRT.bar='TestBarData';
The request that I am passing from Apex is not having the mac:bar="TestAttribute" . SOAP UI everything is working fine . Any pointers are helpful .thanks
This should help https://salesforce.stackexchange.com/questions/261075/how-to-pass-an-attribute-to-xml-message-in-soap-webservice-callout
If this information helps, please mark the answer as best. Thank you