Results 1 to 1 of 1
Thread: JaxWS WSDL customization
- 11-13-2012, 10:22 AM #1
Member
- Join Date
- Nov 2012
- Posts
- 1
- Rep Power
- 0
JaxWS WSDL customization
I'm using the start-from-java approach to develop a webservice , that will be published to WebLogic 10.3.6.
I'm using standart annotations (@WebService .. ect`) to define a WS Beans , methods and Types.
I'm using a JWSC ant task to generate the deployable service and clientgen ant task to generate client artefacts.
The output is (as expected) fine , but I have certain restrictions upon the generated WSDL file , which I can't find the solution for. I've tried to play around with binding xml file , but the changes are applied only to the generated client artefacts .
The restrictions are :
1.
the schema import has to define a targetNamespace="" element
although the targetNamespace element is specified is the xsd schema fileJava Code:<xsd:schema> <xsd:import namespace="http://stas.asd.com" schemaLocation="CopyOfCopyOfWithInterfaceService_schema1.xsd"/> </xsd:schema>
2.
The message part
has to have the naming convention of `*Request`Java Code:<input message="**tns:get**"/> <output message="tns:getResponse"/>
Annotating the parameter with `` didn't change the message part in the wsdl , but instead in the xsd schema file .Java Code:@WebParam(name="someRequest")
Similar Threads
-
About JBPM Customization
By Programmingpeople in forum Reviews / AdvertisingReplies: 1Last Post: 10-17-2012, 11:47 AM -
SoapUI, JaxWs, JaxB - xml content
By Takashy in forum Advanced JavaReplies: 0Last Post: 02-06-2012, 10:26 AM -
Netbeans Platform Customization
By ermia2008 in forum NetBeansReplies: 0Last Post: 09-21-2010, 05:38 AM -
Displaytag customization
By vivtops86 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-18-2010, 06:53 AM -
creating webservice from the scratch(from the wsdl) with jaxws
By devday in forum New To JavaReplies: 1Last Post: 08-10-2009, 11:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks