Skip to main content
Nintex Community Menu Bar

Consuming SOAP webservice from k2 five core

  • January 6, 2020
  • 1 reply
  • 101 views

Dear All,

 

I am trying to comsume SOAP web service from k2. but wsdl contains the attribute with any type 

 

<xsd:complexType name="Data">
<xsd:sequence>
<xsd:any processContents="lax" maxOccurs="unbounded" />
</xsd:sequence>

</xsd:complexType>

 

I have successfully register this SOAP webservice in k2. Also I have created the smart objects. But when I am trying to consume SOAP webservice from k2. 'Data' smart object requires XMLElement . how can I pass XML in k2 as I am gettting serialize error while passing XML in this Data element from k2 smart object tester.

 

Thanks and Regards,

Rahul Gupta

1 reply

Forum|alt.badge.img+6

Hello Rahul,


 


You will need to serialize your input so it is consumed correctly by the SOAP endpoint. Check out the following KB article regarding serialization/deserialization:


 


https://help.k2.com/onlinehelp/K2Cloud/UserGuide/Update_10/default.htm#ServiceBrokers/EndPoints/SmartObject-Serialization-Deserialization.htm


 


K2 will not accept any liability for any issues arising from actions taken in respect of information provided by any forum member.