1. Ra S
  2. PowerBuilder
  3. Sunday, 21 July 2019 05:52 AM UTC

Hi Team,

I am using Powerbuilder 12.6 classic and webservice proxy wizard to invoke the WSDL file, during this proxy wizard I am not able to move from the second step after giving the WSDL file and click next button , the wizard saying that " CANNOT ACCESS WSDL OR WSDL FILE IS INVALID" , i have tried several options to come out of this error but I am not successful.

I used the SAP solution  for firewall settings , but the error still remains.

Solution for this issue is highly appreciated.

 

 

 

Michael Kramer Accepted Answer Pending Moderation
  1. Monday, 22 July 2019 18:54 PM UTC
  2. PowerBuilder
  3. # 1

Still remember struggling with XML, proxy generation, and XML interpretation in PB VM and especially the DW runtime. How I used to solve the issues: Divide and conquer.

Cut out everything but one operation using as simple data structure as possible in the WSDL. Cut  everything away until proxy generator could generate. Then add chunks of WSDL until it failed. Remove half of last diff, etc. Call it binary search for failure. I don't recall having to give up though it was tedious and time-consuming.

One issue comes to mind: Sometimes the WSDL file states one encoding but the BOM at start indicates different. This could generate all sorts of issues at least for some PB builds. Trick: Open file in Notepad. Look right-hand corner of status bar. That encoding (EX: UTF-8 with BOM) is defined by the BOM marker, not the WSDL text.

 

HTH /Michael

Comment
There are no comments made yet.
Ra S Accepted Answer Pending Moderation
  1. Monday, 22 July 2019 12:12 PM UTC
  2. PowerBuilder
  3. # 2

Hi Mich,

The WSDL file is good....I tried that option.

 

Comment
There are no comments made yet.
Michael Kramer Accepted Answer Pending Moderation
  1. Monday, 22 July 2019 08:28 AM UTC
  2. PowerBuilder
  3. # 3

Hi Ra, Are you sure the WSDL file is complete and well-formed/valid?

Also, have you tried saving the WSDL file (and its references) locally and refer to that local file?

HTH /Michael

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.