The Artima Developer Community
Sponsored Link

Web Services Forum
(axis) Return object in WS, with style="wrapped" use="literal"

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
alberto martin

Posts: 6
Nickname: wakeup
Registered: Oct, 2005

(axis) Return object in WS, with style="wrapped" use="literal" Posted: Jul 16, 2006 11:53 PM
Reply to this message Reply
Advertisement
I can return objects in a web service with bean serializer (in wsdd file)

<service name="MyService" provider="java:RPC">
<!-- more things-->
<typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
qname="ns1:MyClass"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
type="java:test.MyClass"
xmlns:ns1="http://test"/>




But I need too send soap header as
http://weblogs.asp.net/jdanforth/archive/2006/03/13/440116.aspx
I send soap headers sucessfull, but for it I have to add in <service> the parameters...


<service name="MyService" provider="java:RPC" style="wrapped" use="literal">



When I add these parameter, the return of my webservices is not a object in xml, It return only a 0 number.

Do you know how solve it?
Thanks

Topic: Is there any open source project which supports uddi 3 specification Previous Topic   Next Topic Topic: Make your e-services delivery convenient

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use