cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice/SOAP wsdl not showing all the parameters?

Former Member
0 Kudos

Hi All,

I have a webservice(wsdl) url and the url is working fine in SOAPUI and its returning the output as well. But when I open/download the url it is not showing all the parameters as in SOAPUI application. When I open the url in browser it is not showing the parameters & when I upload(External Definition) in PO system it is not showing any sub element (parameters).

Below is copied format from the browser when I pass the URL.

<wsdl:message name="Login_InputMessage"><wsdl:part name="parameters" element="tns:Login"/></wsdl:message><wsdl:message name="Login_OutputMessage"><wsdl:part name="parameters" element="tns:LoginResponse"/></wsdl:message>

Below is copied from the SOAPUI application with the same URL

<soapenv:Header/> <soapenv:Body> <tem:Login> <!--Optional:--> <tem:Service>?</tem:Service> <!--Optional:--> <tem:GroupKey>?</tem:GroupKey> <!--Optional:--> <tem:Pin>?</tem:Pin> </tem:Login> </soapenv:Body> </soapenv:Envelope>

Is Java Mapping and changing the SOAP Envelop is the only option to do this interface or is there any other better solution? Please advice.

Thanks in advance,

RVR

Accepted Solutions (0)

Answers (3)

Answers (3)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

If there is a referenced xsd in the wsdl, you need to import it in ESR too and reference. Otherwise, the structure will be incomplete.

Regards,

Mark

former_member190293
Active Contributor
0 Kudos

Hi RV R!

Change your WSDL type to RPC-style in ESR.

Regards, Evgeniy.

Former Member
0 Kudos

Hi Evgeniy,

If I change the style to "RPC" I am getting this error.

Unable to convert imported document to WSDL
Reason: 
A Part element must be assigned RPC Style format by a Type attributeCheck selected category
former_member186851
Active Contributor
0 Kudos

Please share the initial WSDL url used in SOAP UI.

Former Member
0 Kudos

Hi Raghuraman,

I used the same url in soapui and created a wsdl file (copy and pasted) from the same url.

https://api.xxxxx.com/WebServiceSource/3.2/Soap.svc?wsdl
former_member186851
Active Contributor
0 Kudos

Hello Rv,

Did you select view source from the WSDL URL and then save the file as WSDL?

Also XML line at the starting should be removed before importing in ESR.

And try one more option,

export WSDL from Soap UI(Refer screenshot) and try importing in ESR.
Former Member
0 Kudos

Raguraman,

I tried what you said but still the same result. No luck.

Please find the attached screen shot of the SOAPUI, URL & External Definition screen shots.1-soap-ui.jpg2-url-wsdl.jpg2-wsdl.jpg

former_member186851
Active Contributor
0 Kudos

Ok RV,

If you can share the exact the exact WSDL link I shall try.

Former Member
0 Kudos

Raghuraman,

Could you please share your email id or send a email to kalai.karthik123@gmail.com? I will send you the wsdl link.

Please let me know if you have any concerns.

Former Member
0 Kudos

If you can share your email id I will send you the link. I don't want to share in the public. Hope you understand.