Sorry for breaking the thread.
Since i am new user in development of JBOSSWS weebservice i am not sure where
do we specify the rpc/literal. I mean where do we mention the rpc n document
style?
I have used following files for creating webservice
ant task :
<wscompile
| fork= "true"
| base="${dest.dir}/war/WEB-INF/classes"
| server="true"
| features="wsi"
| mapping="${dest.dir}/war/WEB-INF/Contact_Mapping.xml"
| sourceBase="${war.dir}/WEB-INF/classes"
| optimize="true"
| debug="true"
| keep="false"
| verbose="true"
| xPrintStackTrace="true"
| config="${acws-config-dir}/Contact_Config.xml">
| <classpath>
| <pathelement path="${acws.classpath}"/>
| <pathelement path="${war.dir}/WEB-INF/classes"/>
| </classpath>
| </wscompile>
Contact_Config.xml:
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
| <service name="ContactWebServices"
| targetNamespace="urn:ContactWrapper"
| typeNamespace="urn:ContactWrapper"
| packageName="com.ca.ac.webservice.wrapper">
| <interface
| name="com.ca.ac.webservice.wrapper.ContactWrapperIntf"
| servantName="com.ca.ac.webservice.wrapper.ContactWrapper">
| </interface>
| <typeMappingRegistry>
| <additionalTypes>
|
| <class name=
| "com.ca.ac.model.SiteKey"/>
| <class name=
| "com.ca.ac.model.ContactKey"/>
| <class name=
| "com.ca.ac.model.AddressKey"/>
|
| </additionalTypes>
| </typeMappingRegistry>
| </service>
| </configuration>
webservice.xml:
| <webservice-description>
|
<webservice-description-name>ContactWebServices</webservice-description-name>
| <wsdl-file>WEB-INF/wsdl/ContactWebServices.wsdl</wsdl-file>
|
<jaxrpc-mapping-file>WEB-INF/Contact_Mapping.xml</jaxrpc-mapping-file>
| <port-component>
| <port-component-name>ContactWebServices</port-component-name>
| <wsdl-port>ContactWrapperIntfPort</wsdl-port>
|
<service-endpoint-interface>com.ca.ac.webservice.wrapper.ContactWrapper</service-endpoint-interface>
| <service-impl-bean>
| <servlet-link>ContactWrapperServlet</servlet-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871146#3871146
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871146
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user