axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trapanator (JIRA)" <>
Subject [jira] Created: (AXIS-1625) WSDL2Java produces an incorrect webservice name in deploy.wsdd and *
Date Wed, 27 Oct 2004 07:49:04 GMT
WSDL2Java produces an incorrect webservice name in deploy.wsdd and *

         Key: AXIS-1625
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC1    
 Environment: Windows 2000 Service Pack 4
    Reporter: Trapanator
    Priority: Critical

When I'm doing WSDL2Java on this WSDL:

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloWorld" targetNamespace="http://clientService" xmlns=""
xmlns:plnk="" xmlns:tns="http://clientService"
      <schema targetNamespace="http://clientService" xmlns="">
			   <element name="documento">
					     <restriction base="xs:string"/>

   <message name="HelloWorldResponseMessage">
      <part name="payload" type="xs:string"/>

   <message name="HelloWorldRequestMessage1">
      <part element="tns:documento" name="payload"/>

   <portType name="HelloWorld">
      <operation name="process">
         <input message="tns:HelloWorldRequestMessage1"/>
         <output message="tns:HelloWorldResponseMessage"/>

   <binding name="clientServiceBinding" type="tns:HelloWorld">
      <soap:binding style="rpc" transport="" xmlns:soap=""/>
      <operation name="process">
       <soap:operation soapAction="" style="rpc" xmlns:soap=""/>
        <soap:body encodingStyle="" use="encoded"
        <soap:body encodingStyle="" use="encoded"

   <service name="clientService">
      <port binding="tns:clientServiceBinding" name="clientServicePort">
       <soap:address location=""


if I do a

   java org.apache.axis.wsdl.WSDL2Java -v --server-side --skeletonDeploy true --package clientService
--output . --all clientService.wsdl

it generates all files.

The deploy.wsdd contains:

   <service name="clientServicePort" provider="java:RPC" style="rpc" use="encoded">

what's that name? It shouldn't be "clientService" (without that "Port")?

And go in

   private java.lang.String clientServicePortWSDDServiceName = "clientServicePort";

this is wrong (obviously).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message