This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes Creating webservice client through emf(eclipse modeling framework) sdo project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating webservice client through emf(eclipse modeling framework) sdo project" Watch "Creating webservice client through emf(eclipse modeling framework) sdo project" New topic
Author

Creating webservice client through emf(eclipse modeling framework) sdo project

Eremis Guile
Greenhorn

Joined: Mar 11, 2013
Posts: 1
Hi, Im new to creating web service client through emf framework.

Is there any place where i can find good documentation for making emf web service client for rpc/encoded webservices?
I am trying to create a web service client through emf project in RAD 7.5 from a wsdl which is of style rpc.



1. I followed this infocenter tutorial http://pic.dhe.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.commerce.webservices.doc%2Ftutorial%2Ftwvoutbound.htm however in the tutorial wsdl is of document type.
Will that make any difference in the procedure of making the client?



2.Also some of the types of messages in the wsdl are plain integer ie. there is no complex type which is defined for the request object which leads to creation of the sdo through the emf project creation wizard.
such as :




How will i send such a integer in the request xml? As i can see from the tutorial some request object from SDO is passed into the request object (DataObjectInvocationServiceObjectImpl)



3. Also there is no DocumentRoot generated from the emf project wizard . What is its role and is it really required?

4. If i want to add custom header to the soap header to pass authentication information in it instead of the header that is automatically generated how can i do that? eg i want to add such a tag in soap header :





5. Is it possible to send CustomerType Sdo in such a xml format in the soap request? :





How should i proceed to send such a xml since the webservice demands such a request xml ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating webservice client through emf(eclipse modeling framework) sdo project