• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebObjects WebService WSDL generation: parameter names in0, in1, ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebObjects WebService WSDL generation: parameter names in0, in1, ...


  • Subject: WebObjects WebService WSDL generation: parameter names in0, in1, ...
  • From: Kristof Cossement <email@hidden>
  • Date: Thu, 18 Mar 2010 09:17:01 +0100

Hi all,

I spend hours looking why my generated wsdl is looking like this (parameters in generated WSDL loose there original names and get replaced by in0, in1, ...)


http://localhost/cgi-bin/WebObjects/AppName.woa/ws/Service?wsdl
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://xserve.nss.be/cgi-bin/WebObjects/AppName.woa/1/ws/Service" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://xserve.nss.be/cgi-bin/WebObjects/AppName.woa/1/ws/Service" xmlns:intf="http://xserve.nss.be/cgi-bin/WebObjects/AppName.woa/1/ws/Service" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://www.apple.com/webobjects/webservices/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)--><wsdl:types><schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://www.apple.com/webobjects/webservices/soap/"/><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="mapItem"><sequence><element name="key" nillable="true" type="xsd:anyType"/><element name="value" nillable="true" type="xsd:anyType"/></sequence></complexType><complexType name="Map"><sequence><element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/></sequence></complexType></schema><schema targetNamespace="http://www.apple.com/webobjects/webservices/soap/" xmlns="http://www.w3.org/2001/XMLSchema"><import namespace="http://xml.apache.org/xml-soap"/><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="WOStringKeyItem"><sequence><element name="key" nillable="false" type="xsd:string"/><element name="value" nillable="true" type="xsd:anyType"/></sequence></complexType><complexType name="WOStringKey"><sequence><element maxOccurs="unbounded" minOccurs="0" name="item" type="tns1:WOStringKeyItem"/></sequence></complexType></schema></wsdl:types>
  <wsdl:message name="addFieldRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
    <wsdl:part name="in1" type="soapenc:string"/>
    <wsdl:part name="in2" type="soapenc:string"/>
    <wsdl:part name="in3" type="soapenc:string"/>
    <wsdl:part name="in4" type="soapenc:string"/>
    <wsdl:part name="in5" type="soapenc:string"/>
    <wsdl:part name="in6" type="soapenc:string"/>
    <wsdl:part name="in7" type="soapenc:string"/>
    <wsdl:part name="in8" type="soapenc:string"/>
    <wsdl:part name="in9" type="soapenc:string"/>
    <wsdl:part name="in10" type="soapenc:string"/>
  </wsdl:message>
  <wsdl:message name="duplicateDefinitionRequest">
    <wsdl:part name="in0" type="soapenc:string"/>
    <wsdl:part name="in1" type="soapenc:string"/>
    <wsdl:part name="in2" type="soapenc:string"/>
  </wsdl:message>
  <wsdl:message name="getImageInfoResponse">

I use Eclipse 3.5.2 and WOLips 3.5.6031 and deploy on OSX server 10.5.8 - WebObjects 5.4.3
java version "1.5.0_20"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315)
Java HotSpot(TM) Server VM (build 1.5.0_20-141, mixed mode)



Any ideas how to keep original parameter names in WSDL ?

In my Application.java I invoke:
WOWebServiceRegistrar.registerWebService("Service", AppNameService.class, null, true);
WOWebServiceRegistrar.registerWebService("WebService", AppNameWebService.class, null, true);
In the startup log I see
05/02/2010 09:03:18:441 [OFF]<Thread-2> WOWSDDRegistrar.createServiceString()
<?xml version="1.0" encoding="UTF-8"?>
        <service xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" name="Service" provider="Handler">
                <parameter name="handlerClass" value="org.apache.axis.providers.java.RPCProvider"/>
                <parameter name="scope" value="Application"/>
                <parameter name="className" value="be.nss.AppName.service.AppNameService"/>
                <parameter name="allowedMethods" value="*"/>
        </service>


thanks, Kristof




Looking for Web-to-Print Solutions?
Visit our website : http://www.vit2print.com


This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights.
If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful.
If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof.
We may monitor e-mail to and from our network.

NSS nv Tieltstraat 167 8740 Pittem Belgium

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Problem with WebObjects in Jboss 5.1
  • Next by Date: How to check a photo before posting it to the server
  • Previous by thread: Re: Problem with WebObjects in Jboss 5.1
  • Next by thread: How to check a photo before posting it to the server
  • Index(es):
    • Date
    • Thread