cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ProxyGenerator BUG?

Former Member
0 Kudos

We are using 3rd party web service in our application. Java proxy for it was generated using SAP ProxyGenerator. Everything was fine till we stared using function which return was not very usual. In XML schema definition the name of the element and the name of its type are the same:


<s:element name="XXXResponse">
 <s:complexType>
  <s:sequence>
   <s:element minOccurs="0" maxOccurs="1" name="XXXResult" type="s0:XXXResponse" /> 
  </s:sequence>
 </s:complexType>
</s:element>
<s:complexType name="XXXResponse">
 <s:sequence>
  <s:element minOccurs="1" maxOccurs="1" name="Status" type="s:boolean" /> 
 </s:sequence>
</s:complexType>

And for this part of the WSDL generator gives us only 1 class XXXResponse.java so the response can not be parsed well.

Maybe I'm using old version of the library (i have jars from 30.03.2005)?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello, Kirill,

For NW04 the version you use is too old.

Update to the newest SP available.

Regards, Chavdar

Former Member
0 Kudos

Actually we SAP Basis + WebAS 6.2

Does anybody know where can I get the new version of SAP XML Toolkit?

I can not find it on service.sap.com

kishorg
Advisor
Advisor
0 Kudos

Hello Kiril,

r u talking about SAP s proxy generation or (sproxy)

proxy generation of web services in NW Developer Studio.??

i think for java proxy generation in SAP(through SAP GIU)

u need WAS 6.40 ..

if u r talking about NWDStudio, then upto sp 9 , during proxy generation it can only support basic data types.

if ur 3rd party webservice is using one custom class as

return type , in sp 9 there were no options i think.

regards

Kishor Gopinathan

Former Member
0 Kudos

I repeat: we do NOT have NetWeaver!

So I generate proxy without all those GUI stuff - from command-line.

and BTW what do you mean by custom classes - we receive a simple structure with 1 structure inside with 1 field which is boolean - is it too complex for SAP?

kishorg
Advisor
Advisor
0 Kudos

Hello Kirill ,

custom class i mean , just like structure .

if u r passing as array for basic types , then i think it will support.

regards

Kishor Gopinathan

Former Member
0 Kudos

We updated to the latest version of the Java libs (from the 6th December 2005) and now we have quite different result - the generated code even can not be compiled!

Does anybody know how to report a BUG to SAP?

(Now I'm quite sure what is it)

Looks like we'll have to switch to Axis SOAP proxy generator

0 Kudos

Hello Kirill,

I assumed you are using Netweaver 04 or Netweaver 04s,

since it spots official web services support.

6.20 only supports limited XML invocation of Java beans deployed on the engine using SOAP.

So you will have to use some other consumer framework.

Regards, Chavdar

Former Member
0 Kudos

We DO NOT deploy Java beans using SOAP!

We consume 3rd party service which does not use SAP at all.

SAP J2EE Engine has support for such things but it is buggy.

0 Kudos

Hello, Kirill,

The answer to your question is that the 6.20 Engine proxy generator is able to support limited set of WSDLs, and is provided "as is".

Only showstopper fixes are provided for 6.20 J2EE engine.

Netweaver 04 and 04s are the current supported versions, that provide web services capability.

Regards, Chavdar