cancel
Showing results for 
Search instead for 
Did you mean: 

issue with WSDL created for sender agreement

Former Member
0 Kudos

Hi,

Can you please help me why I am getting the erroe with WSDL that has been created from directory Sener agreement in PI 7.1 EHP1?

My interface is a SOAP to file ASYNC scenario and we have been given 5 XSDs that are referencing one each other ,5 XSDs are imported successfully and referenced properly,no errors/issues found.

Created all ESr and directory objects and I tried creating WSDL from sender agreement for my Source/outbound inteface that is created with XSDs in ESR.

When I try to import WSDL into SOPA UI to validate ,the import process stuck for ever while trying to import "http://www.w3.org/2001/xml.xsd"; and finally throws me error.

After that I tried importing WSDL created in Directory into AltovaXML spy to created the webservice request,I am getting the following error""invalid XML Schema:"xml:lang" is already declared in the schema dcument C:|..my WSDL.

Even our partner who wants to make Webservice calls using this WSDL,they are not able to develop their Webservices they are getting errors something related to schema not found /not defined etc.

Please let me know,what might be the issue?I verified several times with my XSD imports and referencing properly and configuration objects.

Thank you for your help in advance.

Regards,

Prem

Accepted Solutions (0)

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Can you try creating the WSDL in ID using the tools -> display WSDL? Specify your outbound service interface in the wizard.

Hope this helps,

Mark

Former Member
0 Kudos

hi Mark,

yes,I did try creating wsdl using the wizard,but still I get the same error while importing into soap ui/altova xml spy.

I just tried importing the service interface exported as wsdl in esr and inmported into soap ui/altova xml spy.Even i get error withwsdl of service interface build with xsds that are imported.

any idea what might be the issue.

thank you,

regards,

Prem

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Even i get error withwsdl of service interface build with xsds that are imported.

If you are already getting this issue in ESR when displaying the service interface as wsdl, it would also not work in the ID generated wsdl.

Can you paste your xsds here?

Regards,

Mark

Former Member
0 Kudos

Hi Mark,

I am not getting issue while displaying/Exporting as WSDL in ESR.I am getting issue while trying import WSDL that is generated out of Service Interface into SOAP UI or Altova XML Spy.

I don't think PI created the WSDl out of W3 standards.

This is the error I am getting in XML Spy:

File C:\Documents and Settings\Prem\Desktop\SI_XYZ_O.wsdl is not valid

Invalid XML schema: ''xml:lang' is already declared.

Error location: schema / attribute++

and in SOAP UI:It is trying to import the WSDL and it stuck for ever while trying to import http://www.w3.org/2001/xml.xsd and never imprts the WSDL into SOAP UI project.

Please let me know,if you have any ideas.

Thank you,

Prem.

Former Member
0 Kudos

My issues has been resolved.Not sure what has resolved the issue.I recreated the Sender agreement for my interface and regenerated the WSDL file and could able to import the WSDL to SOAP UI and can successfully test the interface from SOAP UI.

There was restart of PI server while I recreated the sender agreement,noy sure,if the restart has helped in refreshing the cache etc.