axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ephemeris Lappis" <>
Subject RE: Document/Literal : bad part name in axis server response
Date Tue, 11 Jan 2005 06:26:15 GMT
I don't use wsdl2java.
In Jonas, using the new (not so new) ejb 2.1 service endpoint features, i
just provide the wsdl (that is generated from the java endpoint interface),
and the ejb and webservices descriptors (for the ejb deployment). At
assembly time, Jonas produces the java stubs, the whole web application as a
war with a limited wsdd descriptor. At deployment time, Jonas merges the
war's wsdd file with the full platform's one to expose the web service
endpoint. This is the wsdd file :

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns=""

      <service name="J2ME05WS" provider="java:JOnASEJB"
	           style="document" use="literal" >
        <!-- Namespace -->
        <!-- Default value for scope -->
        <parameter  name="scope" value="session"/>
        <parameter  name="serviceEndpointJndiName"
		<parameter 	name="serviceEndpointInterfaceName"
		<parameter  name="allowedMethods"



The only thing i don't like in this file is the session scope that leads to
creation of useless session when clientsdon't handles cookies. I have
already open a issue report in Jonas bugs lists to ask for a way to select
this scope or, at least, set it up with a default request value...

>From my point of view, Axis was expected to use the given wsdl file to
handle client requests according to the descriptor it generated itself...

>>> -----Message d'origine-----
>>> De : Michael Schuerig []
>>> Envoyé : mardi 11 janvier 2005 04:03
>>> À :
>>> Objet : Re: Document/Literal : bad part name in axis server response
>>> On Tuesday 11 January 2005 01:57, Bill Keese wrote:
>>> >  Since all the method request/response info is in the WSDL file, I
>>> > thought you shouldn't need to duplicate any of that information in
>>> > the WSDD file.  You would simply have the WSDD file point to the WSDL
>>> > file.
>>> Does Axis even use the WSD_L_ file on the server side? I don't
>>> think so.
>>> AFAIR, the wsdlURL parameter in the WSDD file is only used to return
>>> the specified file for ?wsdl-style requests.
>>> Ephemeris, could you post the WSDD that wsdl2java generates for your
>>> wsdl?
>>> Michael
>>> --
>>> Michael Schuerig           Contests between male toads over females are
>>>     often settled by the depth of the croak.
>>>                    --John Maynard Smith

View raw message