• Post Reply Bookmark Topic Watch Topic
  • New Topic

service-ref and mapping file  RSS feed

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When service reference is used to do a lookup of the webservice proxy ew need to specify jaxrpc-mapping-file but when we the normal client (static stub or dynamic client) why dont we provide one. Is a default mapping file used?

<service-ref>
service-ref-name>services/hello</service-ref-name>
<service-interface>javax.xml.rpc.Service</service-interface>
<wsdl-file>META-INF/wsdl/hello.wsdl</wsdl-file>
<jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>
<service-qname xmlns:hello="http://hello.chap12.jboss.org">hello:HelloService</service-qname>
</service-ref>
 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friend
I dont think that is mandatory tag in service-ref.

If no xml, then atleast proper serializers and deserializers has to be mentioned in client code

Else we will get serialization issues.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had posted this 3 years back dear. Thanks anyways
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!