cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HCI WSDL Import error in mapping

former_member335553
Active Contributor
0 Kudos

Hi

I am trying to import QAS Address search WSDL in SAP HCI mapping . The WSDL location is

https://ws.ondemand.qas.com/ProOnDemand/V3/ProOnDemandService.asmx?wsdl

I am unable to add this WSDL in the source or target structure of mapping .. Is there any exclusion  that I need to consider to this WSDL . However I am able to use this WSDL In the SOAP Channel and select the required binding too.

Please advise how could I use this address search WSDL in HCI mapping

Thanks

Anusha

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Anusha,

Try saving the WSDL in the local folder and import it from there.

Sometimes XML tags will added which might create a problem.

Download it and check for the tags and import again.

former_member335553
Active Contributor
0 Kudos

Thanks for your response and I was able to import the WSDL under definitions but when I assign it to a source or target message in mapping , I am unable to get the file imported .

attached is the XML file but

nitindeshpande
Active Contributor
0 Kudos

Hi Anusha,

I just tried importing the file provided by you and it is successfully imported in External definitions tab and i am also able to use it in Message mapping.

Please find the screenshot -

What is the error you are getting while using it in MM?

Regards,

Nitin

former_member335553
Active Contributor
0 Kudos

Hi

It is not in PI but in SAP HCI

nitindeshpande
Active Contributor
0 Kudos

Hello Anusha,

Apologies for that. Can you please let us know the error you are facing while using it in MM?

Regards,

Nitin

former_member186851
Active Contributor
0 Kudos

Anusha,

You should not save it as .XML.Try saving as WSDL and remove the XML namespace tags at the beginning and then try importin the same.

former_member335553
Active Contributor
0 Kudos

I just gave the file downloaded from the site.. when I had imported have converted this to WSDl format.. unable to import file is the error in mapping . Any advise please ..

former_member186851
Active Contributor
0 Kudos

Open the source page,right click and select view source option and save it as WSDL.

Open the WSDL remove the XML starting tags,it should work.

former_member335553
Active Contributor
0 Kudos

attached the error screenshot in HCI mappingh

former_member186851
Active Contributor
0 Kudos

Hello Anusha,

Did you try as I suggested?/

former_member335553
Active Contributor
0 Kudos

I am unable to attach the WSDl here as the file of this type is not getting attached .Just getting you the snapshot

former_member186851
Active Contributor
0 Kudos

Hello Anusha,

Just for testing purpose try importing any other WSDL and check.

former_member335553
Active Contributor
0 Kudos

On the same note I tried importing calculator webservice http://www.webservicex.net/CurrencyConvertor.asmx?WSDL

where I am able to import the WSDL in mapping .

XML tags do not have to be removed . Just trying to understand what is getting wrong with the address search WSDl .

I do have headers specifying authentication and I also tried keeping one operation but in vain

former_member186851
Active Contributor
0 Kudos

The same issue I got in PI while importing.

Then I did those steps and successfully imported.Sometimes WSDL doesn;t get downloaded properly.Can you post the screenshot of WSDL you imported.

former_member335553
Active Contributor
0 Kudos

Thanks for the response I had attached the screenshot

and I did not have any issues of importing the wsdl in SAP PI

former_member335553
Active Contributor
0 Kudos

This error is fixed .. WSDL had a validation error on patterns used for regular expression . Validation could be done by rightclick of wsdl and select option validate in HCI  .

However this pattern is accepted in PI and WSDL import is successful