wso2esb - Validation error with WSO2 ESB generated WSDL -


i created proxy service wso2 esb 4.8.1 using complex wsdl using wsdl import , lot of schema imports. can import original wsdl soapui not 1 generated proxy service. wsdl validation gives error

error - rpcmessagereceiver wsdlexception (at /wsdl:definitions/wsdl:message1/wsdl:part): faultcode=unbound_prefix: unable determine namespace of 'null:updateconsumerbydms_v1'.

i found similar problem https://wso2.org/jira/browse/carbon-12030. how solve problem? appreciated.

best regards,

teemu

i think on using original wsdl proxy parameters

<parameter name="useoriginalwsdl">true</parameter> <parameter name="modifyuserwsdlportaddress">true</parameter> 

wso2 esb alters wsdl

keep original wsdl file in registry, lets in conf/myresources folder , use below after target.

<publishwsdl key="conf:myresources/<wsdl_file>.wsdl"/> <parameter name="useoriginalwsdl">true</parameter> <parameter name="modifyuserwsdlportaddress">true</parameter> <parameter name="servicetype">proxy</parameter> 

thanks.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -