I am trying to create a REST to SOAP to REST API Proxy with a POST method using the wizard. It fails when generating the proxy.
"Error generating proxy:" is the error returned.
If I change the method to GET then it works Ok albeit not creating what we need. Both PUT & POST don't work.
The WSDL is the same.
Solved! Go to Solution.
The wsdl importer in Apigee Edge has a bug when your WSDL specifies no targetNamespace, or when the targetNamespace is explicitly specified to be blank.
Your WSDL had the latter.
There are two workarounds:
Provide the WSDL if possible.
Apigee guesses and suggests appropriate HTTP method and the user has the option to change it. I am not sure why it is failing with POST/PUT specifically. BTW generate the proxy with the GET method and later on, we can change it to POST if it is a matter of few resources.
applicationupdate-copy.txtThanks Siddharth, WSDL attached . We were hoping not to do this manually because there will be some significantly more complicated API posts required
Even I was not able to deploy when the WSDL included the POST method; it gave ns local ns missing error. I am out of ideas.
Maybe @Dino-at-Google can help you.
I've reproduced the problem you described with the WSDL importer.
I'm investigating it.
The wsdl importer in Apigee Edge has a bug when your WSDL specifies no targetNamespace, or when the targetNamespace is explicitly specified to be blank.
Your WSDL had the latter.
There are two workarounds:
Thanks Dino, went with option 1 and works perfectly
Excellent! Glad it worked.
@Dino-at-Google
I Got a faiulre at the end of installing the mvn
$ > mvn install
Hi Shawky
I'm not going to be able to help diagnose a problem with that kind of error report!