You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Murad <ma...@gmail.com> on 2005/03/01 10:33:40 UTC

Re: Problem with Wrapped Literal style in .NET client

Dear Anne,

Thanks for your kind response.Following is the service class
definition. With this service class I provided two sets of service
definitions in the wsdd file which are enclosed below along with their
corresponding generated wsdl.Scenario 1 is with
the wrapped/literal encoding which gives the problem mentioned in my
previous mail.And Scenario 2 is the default
encoding scheme(which I believe is rpc/literal).With scenaio 2
everything is working nice and smooth(offcourse I have small amount
payload until now).

Service class definition ::




/*
 * Copyright (C) 2004 Sikraft Solutions Ltd. All  Rights Reserved.
 *
 * This software is the confidential and proprietary information
 * of Sikraft Solutions Ltd.
 * You shall not disclose such Confidential Information and shall use
 * it only in accordance with the terms of the license agreement
 * you entered into with Sikraft.
 */
package com.sikraft.ihis.inpatient.roomtype;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.sikraft.welkin.business.Result;
import com.sikraft.welkin.business.ServiceFacade;
import com.sikraft.welkin.exception.GenericException;
import com.sikraft.welkin.service.BaseJaxRPCService;
import java.util.List;

/**
 * Exposes the Inpatient RoomType related service to the external world
 * @author Ahad
 * @version 1.0
 */
public class JaxRpcIRTypeService
    extends BaseJaxRPCService
{
  private static Log theLogger = LogFactory.getLog(JaxRpcIRTypeService.class);
  public static final String SERVICE_NAME = "irtypeService";

  /**
   * creates a room type in the system
   *
   * @param theData PersistantCapableDTO
   */
  public Result add(IRTypeDTO theData) throws GenericException
  {
    return provideService(theData, SERVICE_NAME, ServiceFacade.SERVICE_ADD);
  }

  /**
   * update a room type info existing in the system
   *
   * @param theData PersistantCapableDTO
   */
  public Result modify(IRTypeDTO theData) throws GenericException
  {
    return provideService(theData, SERVICE_NAME, ServiceFacade.SERVICE_MODIFY);
  }

  /**
   * provides all room type of the system
   *
   * @return allIRType List
   */
  public IRTypeDTO[] getAllIRType() throws GenericException
  {
    List allIRType = ( (IIRTypeService)
getService(SERVICE_NAME)).getIrtypeDAO().getAllIRType();
    IRTypeDTO  allIRTypeArray[] = (IRTypeDTO[]) allIRType.toArray(new
IRTypeDTO[allIRType.size()]);
    return  allIRTypeArray;
  }
  public IRTypeDTO findById(Long id)throws GenericException
  {
     theLogger.trace("findById() :: " + id);
     Object obj = findDTOById(IRTypeDTO.class,id);
     theLogger.trace("findById() :: " + obj);
     return (IRTypeDTO)obj;
  }
  public IRTypeDTO[] findIRTypes(String hqlQueryCondition,Object
params[])throws GenericException//Specific field Search
  {
    List searchedDepartments =
findPersistantCapableDTOs(IRTypeDTO.class.getName(),hqlQueryCondition,params);
    return (IRTypeDTO[])searchedDepartments.toArray(new
IRTypeDTO[searchedDepartments.size()]);
  }
  public Object[][] findSpecificDataWithFullValue(String
fieldNames[],String fieldValues[],String returnFieldNames[])
  {
    return super.findSpecificData(fieldNames,fieldValues,returnFieldNames,IRTypeDTO.class);
  }
  public Object[][] findSpecificDataWithPatialValue(String
fieldName,String partialOrFullFieldValue,String returnFieldNames[])
  {
    return super.findSpecificData(fieldName,partialOrFullFieldValue,returnFieldNames,IRTypeDTO.class);
  }

}

With a above code base followings are two scenarios:
 
Scenario 01. (wrapped/literal)

01.a.

Service Element defined in wsdd ::

 <service name="IRTypeService" provider="java:RPC" style="wrapped"
use="literal">
       <namespace>urn:ihis</namespace>
       <parameter name="allowedMethods" value="*"/>
       <parameter name="scope" value="session"/>
       <parameter name="className"
value="com.sikraft.ihis.inpatient.roomtype.JaxRpcIRTypeService"/>
       <beanMapping qname="ihis:IRTypeDTO" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.inpatient.roomtype.IRTypeDTO"/>
       <beanMapping qname="ihis:PersistantCapable"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.PersistantCapable"/>
       <beanMapping qname="ihis:PersistantCapableDTO"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.PersistantCapableDTO"/>
       <beanMapping qname="ihis:BusinessEntity" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.common.BusinessEntity"/>
       <beanMapping qname="ihis:SearchCapableDTO"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.search.SearchCapableDTO"/>
       <beanMapping qname="ihis:SearchableBusinessEntity"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.common.SearchableBusinessEntity"/>
       <beanMapping qname="ihis:Result" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.Result"/>
       <beanMapping qname="ihis:GenericException"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.GenericException"/>
       <beanMapping qname="ihis:SystemException" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.SystemException"/>
       <beanMapping qname="ihis:BusinessRuleException"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.BusinessRuleException"/>
  </service>

01.b. WSDL with the above service element definition


  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions targetNamespace="urn:ihis"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:ihis" xmlns:intf="urn:ihis"
xmlns:tns1="http://lang.java"
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.2RC2
Built on Nov 16, 2004 (12:19:44 EST)

  --> 
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="urn:ihis"
xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://lang.java" /> 
- <element name="add">
- <complexType>
- <sequence>
  <element name="in0" type="impl:IRTypeDTO" /> 
  </sequence>
  </complexType>
  </element>
- <complexType name="PersistantCapableDTO">
- <sequence>
  <element name="businessId" nillable="true" type="xsd:string" /> 
  <element name="creationDate" nillable="true" type="xsd:dateTime" /> 
  <element name="description" nillable="true" type="xsd:string" /> 
  <element name="id" nillable="true" type="xsd:long" /> 
  <element name="status" nillable="true" type="xsd:int" /> 
  <element name="title" nillable="true" type="xsd:string" /> 
  <element name="versionNumber" nillable="true" type="xsd:int" /> 
  </sequence>
  </complexType>
- <complexType name="BusinessEntity">
- <complexContent>
- <extension base="impl:PersistantCapableDTO">
- <sequence>
  <element name="narrative" nillable="true" type="xsd:string" /> 
  </sequence>
  </extension>
  </complexContent>
  </complexType>
- <complexType name="IRTypeDTO">
- <complexContent>
- <extension base="impl:BusinessEntity">
- <sequence>
  <element name="type" nillable="true" type="xsd:string" /> 
  </sequence>
  </extension>
  </complexContent>
  </complexType>
- <element name="addResponse">
- <complexType>
- <sequence>
  <element name="addReturn" type="impl:Result" /> 
  </sequence>
  </complexType>
  </element>
- <complexType name="Result">
- <sequence>
  <element name="auditTrailId" nillable="true" type="xsd:long" /> 
  <element name="data" nillable="true" type="impl:PersistantCapableDTO" /> 
  <element name="message" nillable="true" type="xsd:string" /> 
  </sequence>
  </complexType>
- <complexType name="ArrayOfGenericException">
- <sequence>
  <element maxOccurs="unbounded" minOccurs="0" name="item"
type="impl:GenericException" />
  </sequence>
  </complexType>
- <complexType name="GenericException">
- <sequence>
  <element name="cause" nillable="true" type="xsd:anyType" /> 
  <element name="errorCode" nillable="true" type="xsd:string" /> 
  <element name="exceptions" nillable="true"
type="impl:ArrayOfGenericException" />
  <element name="message" nillable="true" type="xsd:string" /> 
  </sequence>
  </complexType>
  <element name="fault" type="impl:GenericException" /> 
- <element name="modify">
- <complexType>
- <sequence>
  <element name="in0" type="impl:IRTypeDTO" /> 
  </sequence>
  </complexType>
  </element>
- <element name="modifyResponse">
- <complexType>
- <sequence>
  <element name="modifyReturn" type="impl:Result" /> 
  </sequence>
  </complexType>
  </element>
- <element name="findById">
- <complexType>
- <sequence>
  <element name="in0" type="xsd:long" /> 
  </sequence>
  </complexType>
  </element>
- <element name="findByIdResponse">
- <complexType>
- <sequence>
  <element name="findByIdReturn" type="impl:IRTypeDTO" /> 
  </sequence>
  </complexType>
  </element>
- <element name="getAllIRType">
  <complexType /> 
  </element>
- <element name="getAllIRTypeResponse">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded" name="getAllIRTypeReturn"
type="impl:IRTypeDTO" />
  </sequence>
  </complexType>
  </element>
- <element name="findIRTypes">
- <complexType>
- <sequence>
  <element name="in0" type="xsd:string" /> 
  <element maxOccurs="unbounded" name="in1" type="xsd:anyType" /> 
  </sequence>
  </complexType>
  </element>
- <element name="findIRTypesResponse">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded" name="findIRTypesReturn"
type="impl:IRTypeDTO" />
  </sequence>
  </complexType>
  </element>
- <element name="findSpecificDataWithFullValue">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded" name="in0" type="xsd:string" /> 
  <element maxOccurs="unbounded" name="in1" type="xsd:string" /> 
  <element maxOccurs="unbounded" name="in2" type="xsd:string" /> 
  </sequence>
  </complexType>
  </element>
- <element name="findSpecificDataWithFullValueResponse">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded"
name="findSpecificDataWithFullValueReturn"
type="impl:ArrayOf_xsd_anyType" />
  </sequence>
  </complexType>
  </element>
- <complexType name="ArrayOf_xsd_anyType">
- <sequence>
  <element maxOccurs="unbounded" minOccurs="0" name="item"
type="xsd:anyType" />
  </sequence>
  </complexType>
- <element name="findSpecificDataWithPatialValue">
- <complexType>
- <sequence>
  <element name="in0" type="xsd:string" /> 
  <element name="in1" type="xsd:string" /> 
  <element maxOccurs="unbounded" name="in2" type="xsd:string" /> 
  </sequence>
  </complexType>
  </element>
- <element name="findSpecificDataWithPatialValueResponse">
- <complexType>
- <sequence>
  <element maxOccurs="unbounded"
name="findSpecificDataWithPatialValueReturn"
type="impl:ArrayOf_xsd_anyType" />
  </sequence>
  </complexType>
  </element>
  </schema>
  </wsdl:types>
- <wsdl:message name="findByIdRequest">
  <wsdl:part element="impl:findById" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findIRTypesResponse">
  <wsdl:part element="impl:findIRTypesResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithPatialValueRequest">
  <wsdl:part element="impl:findSpecificDataWithPatialValue"
name="parameters" />
  </wsdl:message>
- <wsdl:message name="GenericException">
  <wsdl:part element="impl:fault" name="fault" /> 
  </wsdl:message>
- <wsdl:message name="getAllIRTypeResponse">
  <wsdl:part element="impl:getAllIRTypeResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="getAllIRTypeRequest">
  <wsdl:part element="impl:getAllIRType" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithFullValueResponse">
  <wsdl:part element="impl:findSpecificDataWithFullValueResponse"
name="parameters" />
  </wsdl:message>
- <wsdl:message name="findByIdResponse">
  <wsdl:part element="impl:findByIdResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="addResponse">
  <wsdl:part element="impl:addResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findIRTypesRequest">
  <wsdl:part element="impl:findIRTypes" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="modifyResponse">
  <wsdl:part element="impl:modifyResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="addRequest">
  <wsdl:part element="impl:add" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithPatialValueResponse">
  <wsdl:part element="impl:findSpecificDataWithPatialValueResponse"
name="parameters" />
  </wsdl:message>
- <wsdl:message name="modifyRequest">
  <wsdl:part element="impl:modify" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithFullValueRequest">
  <wsdl:part element="impl:findSpecificDataWithFullValue" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType name="JaxRpcIRTypeService">
- <wsdl:operation name="add">
  <wsdl:input message="impl:addRequest" name="addRequest" /> 
  <wsdl:output message="impl:addResponse" name="addResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="modify">
  <wsdl:input message="impl:modifyRequest" name="modifyRequest" /> 
  <wsdl:output message="impl:modifyResponse" name="modifyResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findById">
  <wsdl:input message="impl:findByIdRequest" name="findByIdRequest" /> 
  <wsdl:output message="impl:findByIdResponse" name="findByIdResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="getAllIRType">
  <wsdl:input message="impl:getAllIRTypeRequest" name="getAllIRTypeRequest" /> 
  <wsdl:output message="impl:getAllIRTypeResponse"
name="getAllIRTypeResponse" />
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findIRTypes">
  <wsdl:input message="impl:findIRTypesRequest" name="findIRTypesRequest" /> 
  <wsdl:output message="impl:findIRTypesResponse" name="findIRTypesResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithFullValue">
  <wsdl:input message="impl:findSpecificDataWithFullValueRequest"
name="findSpecificDataWithFullValueRequest" />
  <wsdl:output message="impl:findSpecificDataWithFullValueResponse"
name="findSpecificDataWithFullValueResponse" />
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithPatialValue">
  <wsdl:input message="impl:findSpecificDataWithPatialValueRequest"
name="findSpecificDataWithPatialValueRequest" />
  <wsdl:output message="impl:findSpecificDataWithPatialValueResponse"
name="findSpecificDataWithPatialValueResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="IRTypeServiceSoapBinding" type="impl:JaxRpcIRTypeService">
  <wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="add">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="addRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="addResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault name="GenericException" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="modify">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="modifyRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="modifyResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault name="GenericException" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findById">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findByIdRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="findByIdResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault name="GenericException" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="getAllIRType">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="getAllIRTypeRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="getAllIRTypeResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault name="GenericException" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findIRTypes">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findIRTypesRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="findIRTypesResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault name="GenericException" use="literal" /> 
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithFullValue">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findSpecificDataWithFullValueRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="findSpecificDataWithFullValueResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithPatialValue">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findSpecificDataWithPatialValueRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="findSpecificDataWithPatialValueResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="JaxRpcIRTypeServiceService">
- <wsdl:port binding="impl:IRTypeServiceSoapBinding" name="IRTypeService">
  <wsdlsoap:address
location="http://localhost:8080/ihis/services/IRTypeService" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

2.a Service element in the server-config.wsdd

 <service name="IRTypeService" provider="java:RPC">
    <namespace>urn:ihis</namespace>
    <parameter name="allowedMethods" value="*"/>
    <parameter name="scope" value="session"/>
    <parameter name="className"
value="com.sikraft.ihis.inpatient.roomtype.JaxRpcIRTypeService"/>
    <beanMapping qname="ihis:IRTypeDTO" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.inpatient.roomtype.IRTypeDTO"/>
    <beanMapping qname="ihis:PersistantCapable" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.PersistantCapable"/>
    <beanMapping qname="ihis:PersistantCapableDTO"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.PersistantCapableDTO"/>
    <beanMapping qname="ihis:BusinessEntity" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.common.BusinessEntity"/>
    <beanMapping qname="ihis:SearchCapableDTO" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.search.SearchCapableDTO"/>
    <beanMapping qname="ihis:SearchableBusinessEntity"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.ihis.common.SearchableBusinessEntity"/>
    <beanMapping qname="ihis:Result" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.business.Result"/>
    <beanMapping qname="ihis:GenericException" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.GenericException"/>
    <beanMapping qname="ihis:SystemException" xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.SystemException"/>
    <beanMapping qname="ihis:BusinessRuleException"
xmlns:ihis="urn:ihis"
languageSpecificType="java:com.sikraft.welkin.exception.BusinessRuleException"/>
  </service>



2.b WSDL generated with above service definition


  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions targetNamespace="urn:ihis"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="urn:ihis" xmlns:intf="urn:ihis"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="http://lang.java"
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.2RC2
Built on Nov 16, 2004 (12:19:44 EST)

  --> 
- <wsdl:types>
- <schema targetNamespace="urn:ihis" xmlns="http://www.w3.org/2001/XMLSchema">
  <import namespace="http://lang.java" /> 
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/" /> 
- <complexType name="PersistantCapableDTO">
- <sequence>
  <element name="businessId" nillable="true" type="soapenc:string" /> 
  <element name="creationDate" nillable="true" type="xsd:dateTime" /> 
  <element name="description" nillable="true" type="soapenc:string" /> 
  <element name="id" nillable="true" type="soapenc:long" /> 
  <element name="status" nillable="true" type="soapenc:int" /> 
  <element name="title" nillable="true" type="soapenc:string" /> 
  <element name="versionNumber" nillable="true" type="soapenc:int" /> 
  </sequence>
  </complexType>
- <complexType name="BusinessEntity">
- <complexContent>
- <extension base="impl:PersistantCapableDTO">
- <sequence>
  <element name="narrative" nillable="true" type="soapenc:string" /> 
  </sequence>
  </extension>
  </complexContent>
  </complexType>
- <complexType name="IRTypeDTO">
- <complexContent>
- <extension base="impl:BusinessEntity">
- <sequence>
  <element name="type" nillable="true" type="soapenc:string" /> 
  </sequence>
  </extension>
  </complexContent>
  </complexType>
- <complexType name="Result">
- <sequence>
  <element name="auditTrailId" nillable="true" type="soapenc:long" /> 
  <element name="data" nillable="true" type="impl:PersistantCapableDTO" /> 
  <element name="message" nillable="true" type="soapenc:string" /> 
  </sequence>
  </complexType>
- <complexType name="ArrayOfGenericException">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType"
wsdl:arrayType="impl:GenericException[]" />
  </restriction>
  </complexContent>
  </complexType>
- <complexType name="GenericException">
- <sequence>
  <element name="cause" nillable="true" type="xsd:anyType" /> 
  <element name="errorCode" nillable="true" type="soapenc:string" /> 
  <element name="exceptions" nillable="true"
type="impl:ArrayOfGenericException" />
  <element name="message" nillable="true" type="soapenc:string" /> 
  </sequence>
  </complexType>
- <complexType name="SystemException">
- <complexContent>
- <extension base="impl:GenericException">
  <sequence /> 
  </extension>
  </complexContent>
  </complexType>
- <complexType name="BusinessRuleException">
- <complexContent>
- <extension base="impl:GenericException">
  <sequence /> 
  </extension>
  </complexContent>
  </complexType>
- <complexType name="ArrayOfIRTypeDTO">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:IRTypeDTO[]" /> 
  </restriction>
  </complexContent>
  </complexType>
- <complexType name="ArrayOf_xsd_anyType">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]" /> 
  </restriction>
  </complexContent>
  </complexType>
- <complexType name="ArrayOf_soapenc_string">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="soapenc:string[]" /> 
  </restriction>
  </complexContent>
  </complexType>
- <complexType name="ArrayOfArrayOf_xsd_anyType">
- <complexContent>
- <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[][]" /> 
  </restriction>
  </complexContent>
  </complexType>
  </schema>
  </wsdl:types>
- <wsdl:message name="findByIdRequest">
  <wsdl:part name="in0" type="soapenc:long" /> 
  </wsdl:message>
- <wsdl:message name="findIRTypesResponse">
  <wsdl:part name="findIRTypesReturn" type="impl:ArrayOfIRTypeDTO" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithPatialValueRequest">
  <wsdl:part name="in0" type="soapenc:string" /> 
  <wsdl:part name="in1" type="soapenc:string" /> 
  <wsdl:part name="in2" type="impl:ArrayOf_soapenc_string" /> 
  </wsdl:message>
- <wsdl:message name="GenericException">
  <wsdl:part name="fault" type="impl:GenericException" /> 
  </wsdl:message>
- <wsdl:message name="getAllIRTypeResponse">
  <wsdl:part name="getAllIRTypeReturn" type="impl:ArrayOfIRTypeDTO" /> 
  </wsdl:message>
  <wsdl:message name="getAllIRTypeRequest" /> 
- <wsdl:message name="findSpecificDataWithFullValueResponse">
  <wsdl:part name="findSpecificDataWithFullValueReturn"
type="impl:ArrayOfArrayOf_xsd_anyType" />
  </wsdl:message>
- <wsdl:message name="findByIdResponse">
  <wsdl:part name="findByIdReturn" type="impl:IRTypeDTO" /> 
  </wsdl:message>
- <wsdl:message name="addResponse">
  <wsdl:part name="addReturn" type="impl:Result" /> 
  </wsdl:message>
- <wsdl:message name="findIRTypesRequest">
  <wsdl:part name="in0" type="soapenc:string" /> 
  <wsdl:part name="in1" type="impl:ArrayOf_xsd_anyType" /> 
  </wsdl:message>
- <wsdl:message name="modifyResponse">
  <wsdl:part name="modifyReturn" type="impl:Result" /> 
  </wsdl:message>
- <wsdl:message name="addRequest">
  <wsdl:part name="in0" type="impl:IRTypeDTO" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithPatialValueResponse">
  <wsdl:part name="findSpecificDataWithPatialValueReturn"
type="impl:ArrayOfArrayOf_xsd_anyType" />
  </wsdl:message>
- <wsdl:message name="modifyRequest">
  <wsdl:part name="in0" type="impl:IRTypeDTO" /> 
  </wsdl:message>
- <wsdl:message name="findSpecificDataWithFullValueRequest">
  <wsdl:part name="in0" type="impl:ArrayOf_soapenc_string" /> 
  <wsdl:part name="in1" type="impl:ArrayOf_soapenc_string" /> 
  <wsdl:part name="in2" type="impl:ArrayOf_soapenc_string" /> 
  </wsdl:message>
- <wsdl:portType name="JaxRpcIRTypeService">
- <wsdl:operation name="add" parameterOrder="in0">
  <wsdl:input message="impl:addRequest" name="addRequest" /> 
  <wsdl:output message="impl:addResponse" name="addResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="modify" parameterOrder="in0">
  <wsdl:input message="impl:modifyRequest" name="modifyRequest" /> 
  <wsdl:output message="impl:modifyResponse" name="modifyResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findById" parameterOrder="in0">
  <wsdl:input message="impl:findByIdRequest" name="findByIdRequest" /> 
  <wsdl:output message="impl:findByIdResponse" name="findByIdResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="getAllIRType">
  <wsdl:input message="impl:getAllIRTypeRequest" name="getAllIRTypeRequest" /> 
  <wsdl:output message="impl:getAllIRTypeResponse"
name="getAllIRTypeResponse" />
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findIRTypes" parameterOrder="in0 in1">
  <wsdl:input message="impl:findIRTypesRequest" name="findIRTypesRequest" /> 
  <wsdl:output message="impl:findIRTypesResponse" name="findIRTypesResponse" /> 
  <wsdl:fault message="impl:GenericException" name="GenericException" /> 
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithFullValue"
parameterOrder="in0 in1 in2">
  <wsdl:input message="impl:findSpecificDataWithFullValueRequest"
name="findSpecificDataWithFullValueRequest" />
  <wsdl:output message="impl:findSpecificDataWithFullValueResponse"
name="findSpecificDataWithFullValueResponse" />
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithPatialValue"
parameterOrder="in0 in1 in2">
  <wsdl:input message="impl:findSpecificDataWithPatialValueRequest"
name="findSpecificDataWithPatialValueRequest" />
  <wsdl:output message="impl:findSpecificDataWithPatialValueResponse"
name="findSpecificDataWithPatialValueResponse" />
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="IRTypeServiceSoapBinding" type="impl:JaxRpcIRTypeService">
  <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="add">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="addRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="addResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="GenericException" namespace="urn:ihis" use="encoded" />
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="modify">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="modifyRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="modifyResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="GenericException" namespace="urn:ihis" use="encoded" />
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findById">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findByIdRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="findByIdResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="GenericException" namespace="urn:ihis" use="encoded" />
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="getAllIRType">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="getAllIRTypeRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="getAllIRTypeResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="GenericException" namespace="urn:ihis" use="encoded" />
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findIRTypes">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findIRTypesRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="findIRTypesResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
- <wsdl:fault name="GenericException">
  <wsdlsoap:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
name="GenericException" namespace="urn:ihis" use="encoded" />
  </wsdl:fault>
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithFullValue">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findSpecificDataWithFullValueRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="findSpecificDataWithFullValueResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="findSpecificDataWithPatialValue">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="findSpecificDataWithPatialValueRequest">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:input>
- <wsdl:output name="findSpecificDataWithPatialValueResponse">
  <wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:ihis" use="encoded" />
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="JaxRpcIRTypeServiceService">
- <wsdl:port binding="impl:IRTypeServiceSoapBinding" name="IRTypeService">
  <wsdlsoap:address
location="http://localhost:8080/ihis/services/IRTypeService" />
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>


Regards,

Murad


On Mon, 28 Feb 2005 09:31:56 -0500, Anne Thomas Manes <at...@gmail.com> wrote:
> If you convert your WSDL from rpc/literal to wrapped/literal, you
> shouldn't need to make any changes to your code base.
> 
> If you supply the before and after WSDL file, perhaps we can help you
> diagnose the problem.
> 
> Anne
> 
> 
> On Mon, 28 Feb 2005 12:34:00 +0600, Murad <ma...@gmail.com> wrote:
> > Hello All,
> >
> > I am trying to convert rpc encoding style wrapped/literal style.With
> > .NET wsdl tool I am able to generate the proxy classes and dependency
> > quite well. But at the  time of running .net application there is an
> > exception(FileNotFoundException) ... What I observed each time .NET
> > application is trying to create a dll dynamically and try to load it
> > later in the temp directory.I provided all the neccessary previleges
> > into this directory.But the same error is still there.What  I see this
> > exception dont occur with rpc encoded style.
> >
> > I have an existing code base using rpc literal style.I want to convert
> > this into either document or wrapped style. Which one would be better?
> > Which conversion will be easier?
> > In my proxy class I have methods  with complex signatures(which are
> > working nice with existing rpc encoded scheme).
> >
> > Please suggest.
> >
> > Regards,
> >
> > Murad
> >
> 


-- 
Best regards,

Murad