cancel
Showing results for 
Search instead for 
Did you mean: 

Error generate PROXY from WSDL using RPC style

brian_briones
Participant
0 Kudos

Hi Experts,

I have a next one interface:

WS <---> PI  <----> ERP

the WSDL import is with RPC style then I dont have mapping.

when Generate the PROXY, Im get error because WSDL have a ArrayType:

this is error:

the WSDL in this LINE is:

url :  http://190.96.76.23/WebApp/WS/ws_fonasa_isapres.php?wsdl

I read a document from SDN that says, you must change the arrayType by SEQUENCE, but to change it just does not work, it returns the following error:

Cannot use string offset as an array.

This is XML RESPONSE from Web Services:

(I get this Correct Response because I generate WS from PI to execute the WSDL    WS<--->PI<--->WS)

plis, help me in this error.

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Brian,

I imported the WSDL in your URL, it is lacking two components from the external references tab:

Import the two missing xsds in ESR, then reference it in your WSDL and then try re-generating the proxy.

Hope this helps,

Mark

brian_briones
Participant
0 Kudos

Hi Mark,

thank for help me.

I import the two missing XSD in ESR. this is escenary now:

but, I dont know how change the WSDL for to reference the objects imported.

Im edit the WSDL... but dont know to change.

you says change  http://schemas.xmlsoap.org/soap/encoding to  encoding.xml ??

and change  hrrp://schemas,xmlsoap.org/wsdl to  wsdl.xml???

dont understand this change.

Regards.

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Brian,

By referencing, I mean placing a value to the Source of the xsd.

Since the three objects have already been imported, please do this:

For encoding.xsd

For wsdl.xsd

If the referencing is done correctly, the ws_fonasa_isapres wsdl should now contain the entry:

Then save and activate. You should now be able to generate your proxy from the service interface.

Hope this helps,

Mark

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

Can you give us the XML and the final WSDL?

Regards.

brian_briones
Participant
0 Kudos

Hi Luis,

Thank for help me.

This is the Response get from WSDL.

And this is URL of WSDL complete:

http://190.96.76.23/WebApp/WS/ws_fonasa_isapres.php?wsdl