In MZ's notes p.95, there is a quote:
"Service.Mode.Payload. In this mode, the client applications work with the payload of the messages ... eg when used with a SOAP protocol binding, a client application work with the contents of the SOAP body rather than the SOAP message as a whole."
But there is another quote:
"Use of SOAPMessage objects allows clients to work with SOAP messages ... SOAPMessage objects may only be used with Dispatch that use the SOAP binding in message mode."
Usually, we do this service.createDispatch(portName, SOAPMessage.class, Service.Mode.Message) because the @WebServiceProvider application expects to see a SOAPMessage request.
But in the first quote, it says that it is fine to send a SOAP message using Payload mode. That will be a contradiction.
About Question enthuware.ocejws.v6.2.102 :
Moderators: Site Manager, fjwalraven
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.102 :
When the WebServiceProvider acts as a SOAPMessage provider:
Then the ServiceMode will be "MESSAGE", but when the WebServiceProvider implements Provider<DOMSource>, the you can use the "PAYLOAD":
Regards,
Frits
Code: Select all
@WebServiceProvider
@ServiceMode(value=Service.Mode.MESSAGE)
public class LogServiceImpl implements Provider<SOAPMessage>
Code: Select all
@WebServiceProvider
@ServiceMode(value=Service.Mode.PAYLOAD)
public class LogServiceImpl implements Provider<DOMSource>
Frits
-
- Posts: 124
- Joined: Wed Feb 12, 2014 2:44 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.102 :
Hello ,
I cam from enthuware.ocejws.v6.2.10
The class LogServiceImpl extends LogServiceImplParent , I thought here that LogServiceImpl (SIB) DOES refer to LogServiceImplParent
Kindly clarify.
I cam from enthuware.ocejws.v6.2.10
The class LogServiceImpl extends LogServiceImplParent , I thought here that LogServiceImpl (SIB) DOES refer to LogServiceImplParent
Kindly clarify.
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: About Question enthuware.ocejws.v6.2.102 :
Yes, but not to a SEI.
Regards,
Frits
Regards,
Frits
Who is online
Users browsing this forum: No registered users and 70 guests