cancel
Showing results for 
Search instead for 
Did you mean: 

wsdl proxy generation error in ECC

sapjmm
Participant
0 Kudos

Dear Experts,

We are working on a WSDL which is having multiple parts in it.While generateing proxy after configuration setup in sap pi 7.31 we tried to generate the proxy but the proxy is not generated error is showed as "CANNOT GENERATE THE PROXY DUE TO THE WSDL ERROR " PLEASE SUGGEST US ALSO SEE THE ERROR ATTACHMENT for reference.

Thanks

Murali

Accepted Solutions (1)

Accepted Solutions (1)

xavisanse
Active Participant
0 Kudos

SAP has BIG ISSUES with XSDs and WSDLs (more in ABAP stack than JAVA stacks).

Check this note: http://service.sap.com/sap/support/notes/1327511

I though that you've an wsdl with external definitions, isn't it?

You can use an app as Oxygen XML Developer 7.1  to create a flatten schema and try again.

sapjmm
Participant
0 Kudos

Dear Sebastian,

Could you please eloborate the process of flatten shema creation in Oxygen xml developer i am new for this .

thanks murali

xavisanse
Active Participant
0 Kudos

check the link - Oxygen XML Editor 17.1

another way is use if_http_client and generate  a  post request creating manually the envelope and parsing the response.(you can found a lot of examples through google)

nitindeshpande
Active Contributor
0 Kudos

Hello Murali,

Your WSDL's have different referenced messages, which have not been imported. Please import the WSDL using the below method to resolve the issue -

Tools -> Import External Definitions -> Provide SWCV and Namespace -> Choose the WSDL File -> Finish

This will import all the messages referenced in your file.

If you have already followed this way to import, then the message consisting of the field "createUser" which is referenced is not imported. Try re-importing and it may work.

Please check in your XSD, if the field "createUser" is getting displayed and you are able to use it in your mapping (just for testing do this).

Regards,

Nitin

sapjmm
Participant
0 Kudos

Dear Nitin,

Thanks for your answer.able to import xsd's this way .

thanks

murali

Answers (4)

Answers (4)

former_member182412
Active Contributor
0 Kudos

Hi Murali,

Check the user have permissions to generate the proxy? check below thread.

Regards,

Praveen.

sapjmm
Participant
0 Kudos

Dear Praveen,

Permissions are there.no problem .WSDL is a complex once. please check the WSDL link bellow pasted and try if possible pls let me know solution.....

http://10.10.28.46:8080/AdaptiveAuthentication/services/AdaptiveAuthentication?wsdl&username=wsadmin...

iaki_vila
Active Contributor
0 Kudos

Hi Murali,

What is the type/facets of the element createUser?, may be it is not supported. Try to use types like xsd:string.

Also you can check the noted pointed in this comment Generating ABAP Proxy gives error | SCN

Regards.

sapjmm
Participant
0 Kudos

Dear Vila,

Could you eloborate ? the type and only for CreateUser need to be changed ?

pls see the files bellow attached. or eloborate...

Thanks

Murali

iaki_vila
Active Contributor
0 Kudos

Hi Murali,

I mean that all not the XSD features are supported by ABAP proxies

Check the element definition that throws the exception. Have you set types or element references in the XSD or WSDL in PI?, have you use message/data types or external definitions?

Regards.

former_member186851
Active Contributor
0 Kudos

Hello Murali

There should some error in structure. make sure all the objects are activated and correct in ESR.

Check the interface pattern as well.

ravicarpenter
Active Participant
0 Kudos

Hi,

1. Please check the error long text by double clicking on the error message

2. Under the Internal and External View tabs check for the element mentioned in the error

3. Navigate to the element mentioned in the error in the actual tcode (like SE11) and check for any syntax errors.