× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Walden,

The return type from the Java method is string.

Here is the WSDL file:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://arswspoc"; 
xmlns:impl="http://arswspoc"; xmlns:intf="http://arswspoc"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://arswspoc"; 
xmlns="http://www.w3.org/2001/XMLSchema"; xmlns:impl="http://arswspoc"; 
xmlns:intf="http://arswspoc"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
   <element name="getFormattedField">
    <complexType>
     <sequence>
      <element name="fieldName" nillable="true" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="getFormattedFieldResponse">
    <complexType>
     <sequence>
      <element name="getFormattedFieldReturn" nillable="true" 
type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>

   <wsdl:message name="getFormattedFieldRequest">

      <wsdl:part element="intf:getFormattedField" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="getFormattedFieldResponse">

      <wsdl:part element="intf:getFormattedFieldResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:portType name="ARSWebSvc">

      <wsdl:operation name="getFormattedField">

         <wsdl:input message="intf:getFormattedFieldRequest" 
name="getFormattedFieldRequest"/>

         <wsdl:output message="intf:getFormattedFieldResponse" 
name="getFormattedFieldResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="ARSWebSvcSoapBinding" type="intf:ARSWebSvc">

      <wsdlsoap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="getFormattedField">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getFormattedFieldRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="getFormattedFieldResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="ARSWebSvcService">

      <wsdl:port binding="intf:ARSWebSvcSoapBinding" name="ARSWebSvc">

         <wsdlsoap:address 
location="http://10.192.15.132:7080/arswebservicepoc/services/ARSWebSvc"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Walden H. Leverich
Sent: Thursday, October 21, 2004 10:10 AM
To: Web Enabling the AS400 / iSeries
Subject: RE: [WEB400] iSeries web service error from .Net application


>The .Net application can actually execute the service I think.
>It seems to be complaining about the return data type. 

That exception looks like a connection error, but I might be reading it
wrong. Can you post the WSDL? 

If the WSDL returns a type that isn't defined to .NET then it might have
a problem. Simple types (int, string, etc.) are well-known, but complex
types need to be defined in the WSDL (or something the WSDL refers to).
I know if I allow .NET to generate a WSDL for a class that returns a
DataSet another .NET program will consume it fine since it knows what a
DataSet is, but a Java program would choke. Perhaps you're seeing the
reverse issue.

-Walden



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.