Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 17th, 2006, 01:51 AM
Authorized User
Join Date: Apr 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default (axis) Return object in WS, with style="wrapped" u

I can return objects in a web service with bean serializer (in wsdd file)

    <service name="MyService" provider="java:RPC">

     <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 

But I need too send soap header as
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?


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to INVOKE any WS on server by WS on client ? Abhinavnaresh ASP.NET 2.0 Professional 1 April 4th, 2008 01:09 PM
'style' is null or not an object earhear Beginning PHP 0 December 4th, 2007 04:22 AM
Object reference not set - WebReference WS agfjesus .NET Web Services 2 August 1st, 2007 06:23 AM
Packages problem with WS under Axis edoardo.tosca Apache Tomcat 0 January 26th, 2006 07:17 PM
Passing Class object to WS r_ganesh76 .NET Web Services 4 October 4th, 2004 11:12 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.