Hi,
In my previous mail My DII Client program I missed
to copy my parameter.All the parameters are Strings
My WSDL looks like this
<?xml version="1.0" encoding="UTF-8"?><definitions
xmlns="
http://schemas.xmlsoap.org/wsdl/"
xmlns:s0="urn:sap-com:document:sap:rfc:functions"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="urn:sap-com:document:sap:rfc:functions"><types><xsd:schema
targetNamespace="urn:sap-com:document:sap:rfc:functions"><xsd:element
name="Z_WARRANTY_LOOKUP"><xsd:complexType><xsd:all><xsd:element
name="CUSTOMER_NUM"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="10"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="PRODUCT_ALIAS"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="40"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="PRODUCT_NUM"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="18"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="SALES_ORDER"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="10"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="SERIAL_NUM"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="30"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element></xsd:all></xsd:complexType></xsd:element><xsd:element
name="Z_WARRANTY_LOOKUP.Response"><xsd:complexType><xsd:all><xsd:element
name="ODM_STRUCTURE"
type="s0:ZWARRANTY_ENTITLE"></xsd:element></xsd:all></xsd:complexType></xsd:element><xsd:complexType
name="ZWARRANTY_ENTITLE"><xsd:sequence><xsd:element
name="NAME"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="80"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="VALUE"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="80"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element><xsd:element
name="DESCRIPTION"
minOccurs="0"><xsd:simpleType><xsd:restriction
base="xsd:string"><xsd:maxLength
value="80"></xsd:maxLength></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:schema></types><message
name="Z_WARRANTY_LOOKUPInput"><part name="parameters"
element="s0:Z_WARRANTY_LOOKUP"></part></message><message
name="Z_WARRANTY_LOOKUPOutput"><part name="parameters"
element="s0:Z_WARRANTY_LOOKUP.Response"></part></message><portType
name="Z_WARRANTY_LOOKUPPortType"><operation
name="Z_WARRANTY_LOOKUP"><input
message="s0:Z_WARRANTY_LOOKUPInput"></input><output
message="s0:Z_WARRANTY_LOOKUPOutput"></output></operation></portType><binding
name="Z_WARRANTY_LOOKUPBinding"
type="s0:Z_WARRANTY_LOOKUPPortType"><soap:binding
style="document"
transport="
http://schemas.xmlsoap.org/soap/http"></soap:binding><operation
name="Z_WARRANTY_LOOKUP"><soap:operation
soapAction="
http://www.sap.com/Z_WARRANTY_LOOKUP"></soap:operation><input><soap:body
use="literal"></soap:body></input><output><soap:body
use="literal"></soap:body></output></operation></binding><service
name="Z_WARRANTY_LOOKUPService"><documentation>SAP
Service Z_WARRANTY_LOOKUP via
SOAP</documentation><port
name="Z_WARRANTY_LOOKUPPortType"
binding="s0:Z_WARRANTY_LOOKUPBinding"><soap:address
location="
http://dvl.sapnet.hp.com/sap/bc/soap/rfc"></soap:address></port></service></definitions>
My config file looked like this
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="wsdl11.xml" packageName="sap" />
</configuration>
I used wscompile to generate the stubs like this
wscompile -gen:client -keep config.xml.
In my previous mail I attached the DII Client Source.
Thanks & Regards
Gajendran.G
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net