cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP binding-style in application services exposed as web service

Former Member
0 Kudos

Hello,

when exposing an application service as a web service the following annotations are generated:

@javax.jws.soap.SOAPBinding(style=javax.jws.soap.SOAPBinding.Style.RPC ...)

I need

SOAPBinding.Style.DOCUMENT

though. When I change this manually inside the implementation-class it gets overridden each time I have to generate the application again.

Is their a place to configure which binding-style ce uses?

Many thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

which version of CE do you use?

best regards,

v s

Former Member
0 Kudos

Sorry, we are using SAP NetWeaver 7.1 Composition Environment SP06 PAT0000 Build id: 200805171912.

Former Member
0 Kudos

Hi,

I have asked because I had the problem with SP1. I have asked in the forums and I got the following answer:

u201CPlease check note 1004108.

Methods of Application and/or Entity Services (Business Objects) of CAF of SAP NetWeaver CE 7.1 cannot be exposed in document style, only RPC/literal is possible.

It's a restriction that is planned to be solved in one of the next releases.u201D

Now I have sp4 and I dont have this problem any more. After regenration I get the documet style. I dont have idea now why it doesnt work at yours.

Maybe try to edit not the implementation class but the wsdl file of the web service. Open it in nwds and open its design tab (there are design and Source). Then click on the binding and change it to documet. look what happens after regeneration. Lots of luck.

Best regards,

v s

Edited by: v s on Jun 25, 2008 12:06 PM

Former Member
0 Kudos

Thank you for your help. Editing the wsdl directly unfortunately does not help either. The changes are overridden by a re-generation of the application, too.

Former Member
0 Kudos

Hi,

Did you try editing the properties view of the wsdl too?

I dont have any other idea.

Best regards,

v s

Former Member
0 Kudos

Yes, I tried. But I was not able to find the style within the properties.

I decided to implement the service as an ejb instead of a ce application service and it works quite well that way. It would be much better though to be able to utilize SAP CE technology when providing a service to be called by an ABAP WebDynpro (which is not possible right now since ABAP does not support RPC-style web service till SAP 14).

Thanks for your help anyway.

Former Member
0 Kudos

Hi,

You can find the style property when you open the web service under the CAF perespective. Than, after opening the web service with the default editor you get the design and source views. Under the design view you can click on the binding (the small box that connects the port to the interface). Under, there is a properties view, where you can view the properties of the binding. There are General, Documentation and Extension tabs. Under extension there is the description of the binding style.

Best regards,

vs