When I am trying to expose a SOAP service as an API proxy I am getting the following error: Target Target default: Protocol is missing in urn:XXX:XXXService/XXXManagementPort

Not applicable
 
0 12 342
12 REPLIES 12

Dear @Satya S Singeetham , Welcome to Apigee Community 🙂 Did you get a chance to go through our doc that explains SOAP to REST API Proxy?

Not applicable

@Anil Sagar, thank you for you prompt response. I have gone through your doc and followed all the steps provided in the doc. Am I missing something here? Do I have to change anything in my wsdl?

Can you please share your wsdl to investigate further if possible ?

Not applicable

Here you go: File attached.xxx-v1-0.txt

@Satya S Singeetham ,

I don't think your WSDL is complete. Your WSDL imports XML schema documents & they are missing. See sample WSDL that works here.

Validate your wsdl using online tool here.

@Anil Sagar, I have uploaded around 15 files when converting SOAP to Rest. For your reference I have only sent you the wsdl file alone. Anyway I have verified the WSDL using the online tool and my wsdls seems to have no problem : https://www.wsdl-analyzer.com/service/service/658032485?version=1

The error after my WSDL upload is attached:

1699-apigeeerror1.gif

@Anil Sagar

I can mail you the WSDLs zipped and sent to your mail id, and may be you can have a look at the wsdls. Pls share your mail id if you don't mind.

@Satya S Singeetham , How did you upload multiple files ? As far as i know , UI only supports single file.

NO, the UI allows multiple files, you need to select all the files at one shot. Select multiple files with Ctrl key on the keyboard.

@arghya das @Maruti Chand do you guys know what might be causing this?

Not applicable

Looks like in your servicecallout or target endpoint when you making outbound calls, url is not being constructed properly. http or https scheme is missing. I have seen this issue in those cases earlier.

Pls recheck that. @Satya S Singeetham @sarthak

U mean <wsdl:service name="BPPProductProfileService"> <wsdl:port binding="tns:BPPProductProfileBinding" name="BPPProductProfilePort"> <soap:address location="urn:Fis:BPPProductProfileBPPProductProfileService/BPPProductProfilePort"/> </wsdl:port> </wsdl:service>

I need to add a http or https link? and If I do so, I am essentially hard coding the endpoint in my design time itself.

This means I need to change my WSDL?

I did that and it got deployed, but what I don'd understand is that why should I change my WSDLS which is created and designed using RSA tool to make it work here. I guess it should work without changing the WSDL definition right?