Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 43302 invoked from network); 27 Apr 2006 16:16:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 16:16:50 -0000 Received: (qmail 73139 invoked by uid 500); 27 Apr 2006 16:16:26 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 72910 invoked by uid 500); 27 Apr 2006 16:16:25 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 72899 invoked by uid 99); 27 Apr 2006 16:16:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 09:16:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of robertlazarski@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO pproxy.gmail.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 09:16:22 -0700 Received: by pproxy.gmail.com with SMTP id b29so2029270pya for ; Thu, 27 Apr 2006 09:16:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nflYlp1qaEV238uM61yvrkIycgK6DIRFLkYSs7037ggyklnAS/9haQHqg1ylXwaLjgLOkvBgBZasCWitraZs5nSQ6sfxlZn/kf8HLjrWavT5l4oLCE/6JkjZR+sypBgXx00OX1KWJ9b8hC+mYu0pQ7Rklpli+LtRz0YI8xpyicc= Received: by 10.35.15.11 with SMTP id s11mr2306901pyi; Thu, 27 Apr 2006 09:15:59 -0700 (PDT) Received: by 10.35.46.12 with HTTP; Thu, 27 Apr 2006 09:15:59 -0700 (PDT) Message-ID: Date: Thu, 27 Apr 2006 13:15:59 -0300 From: "robert lazarski" To: axis-user@ws.apache.org Subject: Re: WSDL-File incompatible with Axis1 Axis2 In-Reply-To: <1146143458.21197.78.camel@buruk.fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3624_13445065.1146154559779" References: <1146131464.21197.38.camel@buruk.fokus.fraunhofer.de> <1146143458.21197.78.camel@buruk.fokus.fraunhofer.de> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_3624_13445065.1146154559779 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The code generation guide explains this feature of xmlbeans: http://ws.apache.org/axis2/0_95/CodegenToolReference.html "An important detail is that an XMLBean class file is also generated by WSDL2Java, TypeSystemHolder.class. That file is placed into build/classes b= y the above ant task and will be needed to compile the generated sources." So you need to get the TypeSystemHolder.class generated by WSDL2Java in you= r classpath. HTH, Robert http://www.braziloutsource.com/ On 4/27/06, Koelle, Christian wrote: > > Thanks for your quick response. > > Good: > The axis2 WSDL2Java runs without error and generates the required java > files if "-d xmlbeans" is used. > > Notes: > Then I sticked to the Axis2 manual: The input parameter are to be > created by factories on the Interfaces of input parameter types. > > Bad: > I cannot use any factory on any type, as I am always getting an error > like the following. Please note that the generated ",xsb"-Files are on > the classpath. > > Question: > What would you suggest do next? Is it more expected to be a misusage > issue of "xmlbeans" or more like to get fixed by getting deeper into > wsdl-definitions? > > thx > Christian > > ####################################################### > Exception in thread "main" java.lang.ExceptionInInitializerError > at > > _1.schema.xml.authentication.epcis.interchange.specification.epc.UserToke= nType$Factory.newInstance( > UserTokenType.java:69) > at > de.fhg.fokus.sensors.epcglob.WebServiceUtilsAxis2.main( > WebServiceUtilsAxis2.java:47) > Caused by: java.lang.RuntimeException: Cannot load SchemaTypeSystem. > Unable to load class with name > schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSy= stemHolder. > Make sure the generated binary files are on the classpath. > at > org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:781) > at > > _1.schema.xml.authentication.epcis.interchange.specification.epc.UserToke= nType.( > UserTokenType.java:19) > ... 2 more > Caused by: java.lang.ClassNotFoundException: > > schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSy= stemHolder > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at > org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:767) > ... 3 mor > > ####################################################### > > > On Thu, 2006-04-27 at 15:56 +0530, Ajith Ranabahu wrote: > > Hi, > > Try the XMLBeans databinding with the -d xmlbeans > > > > On 4/27/06, Koelle, Christian wrote: > > > Hi, > > > > > > would someone please mind taking a glimpse on the following wsdl-fil= e > > > regarding axis1 and axis2 compatibility? Thanks in advance. All new > for me, > > > and I don't know where to look first. Seems that the first wsdl-file = I > got > > > is not a good start. > > > > > > Background: > > > I can run axis 1.2.1 WSDL2Java on the wsdl without problem, i.e. > generate > > > stubs, but get an runtime error, if I execute a method on my stubs. > The > > > response returned is exactly how it should be, but there seems to be = a > > > problem in the object mapping. > > > > > > I get a similar error for stubs generated with axis 1.3 WSDL2Java. > > > > > > I cannot run axis 2 WSDL2Java on the the file via ant or provided > script as > > > I am getting a "Unsupported content Simple Content Extension !" > > > > > > All at all, I assume that the WSDL-File is not "optimized" for Axis. > I > > > appreciate all of your comments, as I do not know exactly where to > start to > > > look first. It is fairly new for me. I will get into all this but it > is far > > > to much to assess the situation now. > > > > > > Thanks in advance & Regards > > > Chris > > > > > > Below: > > > WSDL2-Java error Axis2 0.95 > > > Runtime-error Axis 1.2.1 > > > Soap Request > > > Soap Response > > > WSDL-file provided > > > > > > ########################################################### > > > Error while running Axis 2 0.95-WSDL2Java > > > > > > Exception in thread "main" > > > org.apache.axis2.wsdl.codegen.CodeGenerationException: > > > java.lang.RuntimeException: > > > org.apache.axis2.schema.SchemaCompilationException : > > > Unsupported content Simple Content Extension ! > > > at > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > > > ationEngine.java:146) > > > at > > > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > > > at > > > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > > > Caused by: java.lang.RuntimeException: > > > org.apache.axis2.schema.SchemaCompilation > > > Exception: Unsupported content Simple Content Extension ! > > > at > > > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp > > > leDBExtension.java:162) > > > at > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener > > > ationEngine.java:101) > > > ... 2 more > > > Caused by: > > > org.apache.axis2.schema.SchemaCompilationException: > > > Unsupported content Simple Content Extension ! > > > at > > > org.apache.axis2.schema.SchemaCompiler.processSimpleContent( > SchemaCompiler.java:803) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processContentModel( > SchemaCompiler.java:672) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processComplexType( > SchemaCompiler.java:654) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType( > SchemaCompiler.java:604) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processSchema( > SchemaCompiler.java:569) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processElement( > SchemaCompiler.java:360) > > > at > > > org.apache.axis2.schema.SchemaCompiler.processElement( > SchemaCompiler.java:338) > > > at > > > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java > :220) > > > at > > > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java > :179) > > > at > > > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage( > SimpleDBExtension.java:115) > > > ... 3 more > > > #################################################### > > > Error with "Axis 1.2.1"-generated stubs during runtime when calling: > > > StaticAttributeProfileService service =3D new > > > StaticAttributeProfileServiceLocator(); > > > StaticAttributeProfile myStub =3D > > > service.getStaticAttributeProfileSOAPPort(); > > > Stub axisStub2 =3D (Stub) myStub; > > > [...] > > > myStub.getDocumentTypes(epc); > > > > > > > > > 2006-04-27 10:22:47,410 DEBUG [main] > > > org.apache.axis.encoding.DeserializationContext: Popped > > > element stack to > > > org.apache.axis.message.RPCElement:schemaList > > > 2006-04-27 10:22:47,410 DEBUG [main] > > > org.apache.axis.encoding.DeserializationContext: Exit: > > > DeserializationContext::endElement() > > > 2006-04-27 10:22:47,410 DEBUG [main] > > > org.apache.axis.i18n.ProjectResourceBundle: > > > org.apache.axis.i18n.resource::handleGetObject(exception00) > > > 2006-04-27 10:22:47,410 ERROR [main] org.apache.axis.client.Call: > > > Exception: > > > org.apache.axis.types.URI$MalformedURIException: No scheme > > > found in URI. > > > at > > > org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement( > SimpleDeserializer.java:180) > > > at > > > org.apache.axis.encoding.DeserializerImpl.endElement( > DeserializerImpl.java:502) > > > at > > > org.apache.axis.encoding.DeserializationContext.endElement( > DeserializationContext.java:1087) > > > at > > > org.apache.axis.message.SAX2EventRecorder.replay( > SAX2EventRecorder.java:171) > > > at > > > org.apache.axis.message.MessageElement.publishToHandler( > MessageElement.java:1141) > > > at > > > org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) > > > at > > > org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) > > > at org.apache.axis.client.Call.invoke(Call.java:2448) > > > at org.apache.axis.client.Call.invoke(Call.java:2347) > > > at org.apache.axis.client.Call.invoke(Call.java:1804) > > > at > > > > _1.wsdl.xml.StaticAttributeProfile.EPCIS.interchange.specification.epc.St= aticAttributeProfileSoapBindingStub.getDocumentTypes( > StaticAttributeProfileSoapBindingStub.java:535) > > > ... > > > #################################################### > > > Request, as expected > > > > > xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> > > > > > > > > soapenv:actor=3D"http://schemas.xmlsoap.org/soap/actor/next" > > > soapenv:mustUnderstand=3D"0"> > > > > > > xmlns:ns1=3D"urn:epc:specification:interchange:EPCIS:Authentication:xml:s= chema:1"> > > > XXX > > > XXX > > > > > > > > > > > > > > > > > > xmlns=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x= ml:wsdl:1"> > > > urn:epc:id:sgtin:0434687.075859.12 > > > > > > > > > > > > #################################################### > > > Request, as expected > > > > > xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > > > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> > > > > > > > > > xmlns=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x= ml:wsdl:1"> > > > > > > xmlns=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x= ml:schema:1"> > > > product_information > > > > > > > > > > > > > > > #################################################### > > > WSDL > > > > > > > > > targetNamespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttribut= eProfile:xml:wsdl:1" > > > xmlns=3D"http://schemas.xmlsoap.org/wsdl/" > > > > xmlns:auth=3D"urn:epc:specification:interchange:EPCIS:Authentication:xml:= schema:1" > > > > xmlns:pmlidentifier=3D"urn:epc:specification:universal:Identifier:xml:sch= ema:1" > > > xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/soap/" > > > xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" > > > > xmlns:static=3D"urn:epc:specification:interchange:EPCIS:StaticAttributePr= ofile:xml:wsdl:1" > > > xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > > > > > > > > elementFormDefault=3D"qualified" > > > > targetNamespace=3D"urn:epc:specification:interchange:EPCIS:Authentication= :xml:schema:1" > > > > xmlns:auth=3D"urn:epc:specification:interchange:EPCIS:Authentication:xml:= schema:1" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > type=3D"auth:UserTokenType" /> > > > > > > > > > > > > > > > > > elementFormDefault=3D"qualified" > > > > targetNamespace=3D"urn:epc:specification:universal:Identifier:xml:schema:= 1" > > > version=3D"1.0" > > > > xmlns:pmlidentifier=3D"urn:epc:specification:universal:Identifier:xml:sch= ema:1" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > > > > > type=3D"pmlidentifier:IdentifierType" /> > > > > > > > > > > > > > > type=3D"xsd:token" use=3D"optional" /> > > > > > type=3D"xsd:token" use=3D"optional" /> > > > > > type=3D"xsd:token" use=3D"optional" /> > > > > > type=3D"xsd:anyURI" use=3D"optional" /> > > > > > > > > > > > > > > > > > elementFormDefault=3D"qualified" > > > > targetNamespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttribut= eProfile:xml:schema:1" > > > version=3D"1.0" > > > > xmlns:sap=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfi= le:xml:schema:1" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > namespace=3D"##any" /> > > > > > > > > > > > > > > > > > name=3D"schema" type=3D"sap:schemaType" /> > > > > > > > > > > > > > > > > > > > > > > > > > > name=3D"epc" type=3D"sap:epcType" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > type=3D"xsd:string"> > > > > > > > > > The namespace declarations used by > > > the xpath expression. This is a list > > > of space delimited NS declarations > > > usually of the for > > > xmlns:[somePrefix]=3D[someURI] > > > > > > > > > > > > > > > > > > > > > > > > > > elementFormDefault=3D"qualified" > > > > targetNamespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttribut= eProfile:xml:wsdl:1" > > > > xmlns:pmlidentifier=3D"urn:epc:specification:universal:Identifier:xml:sch= ema:1" > > > > xmlns:sap=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfi= le:xml:schema:1" > > > > xmlns:static=3D"urn:epc:specification:interchange:EPCIS:StaticAttributePr= ofile:xml:wsdl:1" > > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > > > > > > namespace=3D"urn:epc:specification:interchange:EPCIS:Authentication:xml:s= chema:1" > > > /> > > > > > namespace=3D"urn:epc:specification:universal:Identifier:xml:schema:1" > > > /> > > > > > > namespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfi= le:xml:schema:1" > > > /> > > > > > > > > > > > type=3D"pmlidentifier:IdentifierType" /> > > > > > type=3D"sap:schemaType" /> > > > > > > > > type=3D"sap:xmlType" /> > > > > > > > > > > > type=3D"static:attributeDataIn" /> > > > > > type=3D"static:attributeDataIn" /> > > > > > > > > > > > type=3D"pmlidentifier:IdentifierType" /> > > > > > type=3D"sap:schemaType" /> > > > > > > > > > > > > > > type=3D"static:getAttributeData" /> > > > > > type=3D"static:getAttributeData" /> > > > > > > > > > > > type=3D"sap:schemaType" /> > > > > > > > > > > > > > > type=3D"static:EPCSWithAttribute" /> > > > > > type=3D"static:EPCSWithAttribute" /> > > > > > > > > > > > > > > type=3D"pmlidentifier:IdentifierType" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > name=3D"addAttributeData" /> > > > > > > > > > > > > > > > > > > > > name=3D"getAttributeData" /> > > > > > > > > > > > > > > > > > > > > name=3D"setAttributeData" /> > > > > > > > > > > > > > > > > > > > > name=3D"deleteAttributeData" /> > > > > > > > > > > > > > > > > > > > > name=3D"getEPCSWithAttribute" /> > > > > > > > > > > > > > > > > > > > > name=3D"deleteEPCSWithAttribute" /> > > > > > > > > > > > > > > > > > > > > name=3D"getDocumentTypes" /> > > > > > > > > > > > > > > > > > > > > > > > > > > name=3D"addAttributeDataInput" /> > > > > > name=3D"addAttributeDataOutput" /> > > > > > > > > > > > name=3D"getAttributeDataInput" /> > > > > > name=3D"getAttributeDataOutput" /> > > > > > > > > > > > name=3D"setAttributeDataInput" /> > > > > > name=3D"setAttributeDataOutput" /> > > > > > > > > > > > name=3D"deleteAttributeDataInput" /> > > > > > name=3D"deleteAttributeDataOutput" /> > > > > > > > > > > > name=3D"getEPCSWithAttributeInput" /> > > > > > name=3D"getEPCSWithAttributeOutput" /> > > > > > > > > > > > name=3D"deleteEPCSWithAttributeInput" /> > > > > > name=3D"deleteEPCSWithAttributeOutput" /> > > > > > > > > > > > name=3D"getDocumentTypesInput" /> > > > > > name=3D"getDocumentTypesOutput" /> > > > > > > > > > > > type=3D"static:StaticAttributeProfile"> > > > > > transport=3D"http://schemas.xmlsoap.org/soap/http" /> > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/addAttributeData" > > > /> > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/getAttributeData" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/setAttributeData" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/deleteAttributeData" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/getEPCSWithAttribute" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/deleteEPCSWithAttribute" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > soapAction=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:wsdl:1/getDocumentTypes" > > > style=3D"document" /> > > > > > > > > > > > part=3D"AuthInfo" use=3D"literal" /> > > > > > > > > > > > > > > > > > > > > > > > > > > binding=3D"static:StaticAttributeProfileSoapBinding" > > > name=3D"StaticAttributeProfileSOAPPort"> > > > > > location=3D"http://[XXX]/static/StaticAttributeProfile" /> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Ajith Ranabahu > > > > ------=_Part_3624_13445065.1146154559779 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The code generation guide explains this feature of xmlbeans:

http:= //ws.apache.org/axis2/0_95/CodegenToolReference.html

"An important detail is that an XMLBean class file is also generated by WSDL2Java, TypeSystemHolder.class. That file is placed into build/classes by the above ant task and will be needed to compile the generated sources."

So you need to get the TypeSystemHolder.class generated by WSDL2Java in you= r classpath.

HTH,
Robert
http://www.braziloutsource.com/=

On 4/27/06, Koelle, Christian < koellemcchrisi@gmx.de> wrote:
Thanks for your quick response.

Good:
T= he axis2 WSDL2Java runs without error and generates the required java
files if "-d xmlbeans" is used.

Notes:
Then I stick= ed to the Axis2 manual: The input parameter are to be
created by factori= es on the Interfaces of input parameter types.

Bad:
I cannot use = any factory on any type, as I am always getting an error
like the following. Please note that the generated ",xsb"-Fil= es are on
the classpath.

Question:
What would you suggest do n= ext? Is it more expected to be a misusage
issue of "xmlbeans" = or more like to get fixed by getting deeper into
wsdl-definitions?

thx
Christian

######################= #################################
Exception in thread "main" j= ava.lang.ExceptionInInitializerError
      = ;  at
_1.schema.xml.authentication.epcis.interchange.specifica= tion.epc.UserTokenType$Factory.newInstance( UserTokenType.java:69)
        a= t
de.fhg.fokus.sensors.epcglob.WebServiceUtilsAxis2.main(WebServiceUtils= Axis2.java:47)
Caused by: java.lang.RuntimeException: Cannot load Schema= TypeSystem.
Unable to load class with name
schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.Type= SystemHolder. Make sure the generated binary files are on the classpath.        at
org.apache.xmlbeans.= XmlBeans.typeSystemForClassLoader(XmlBeans.java :781)
        at
_1.schema.xm= l.authentication.epcis.interchange.specification.epc.UserTokenType.<clin= it>(UserTokenType.java:19)
       =  ... 2 more
Caused by: java.lang.ClassNotFoundException:
schemao= rg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSystemHolde= r
        at java.net.URLClassLoa= der$1.run(URLClassLoader.java:200)
      &= nbsp; at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader= .findClass(URLClassLoader.java:188)
      =   at=20 java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   =      at sun.misc.Launcher$AppClassLoader.loadClass= (Launcher.java:268)
        at j= ava.lang.ClassLoader.loadClass(ClassLoader.java:251)
   &= nbsp;    at
org.apache.xmlbeans.XmlBeans.typeSystemF= orClassLoader (XmlBeans.java:767)
        ... = 3 mor

#######################################################

On Thu, 2006-04-27 at 15:56 +0530, Ajith Ranabahu wrote:
> Hi,> Try the XMLBeans databinding with the -d xmlbeans
>
> On 4/27/06, Koelle, Christian <koellemcchrisi@gmx.de> wrote:
> > &nb= sp;Hi,
> >
> >  would someone please mind takin= g a glimpse on the following wsdl-file
> > regarding axis1 and axis2 compatibility? Thanks in advance. A= ll new for me,
> > and I don't know where to look first. Seems tha= t the first wsdl-file I got
> > is not a good start.
> >
> >  Background:
> >  I can run axis= 1.2.1 WSDL2Java on the wsdl without problem, i.e. generate
> > st= ubs, but get an runtime error, if I execute a method on my stubs. The
&g= t; > response returned is exactly how it should be, but there seems to b= e a
> > problem in the object mapping.
> >
> > = ; I get a similar error for stubs generated with  axis 1.3 W= SDL2Java.
> >
> >  I cannot run axis 2 WSDL2Jav= a on the the file via ant or provided script as
> > I am getting a "Unsupported content Simple Content Exten= sion !"
> >
> >  All at all, I assume that= the WSDL-File is not "optimized" for Axis. I
> > apprec= iate all of your comments, as I do not know exactly where to start to
> > look first. It is fairly new for me. I will get into all this= but it is far
> > to much to assess the situation now.
> &g= t;
> >  Thanks in advance & Regards
> >&nbs= p; Chris
> >
> >  Below:
> >  WSDL2-Java= error Axis2 0.95
> >  Runtime-error Axis 1.2.1
> = >  Soap Request
> >  Soap Response
> = >  WSDL-file provided
> >
> > ##############= #############################################
> >  Error while running Axis 2 0.95-WSDL2Java
> = >
> >  Exception in thread "main"
> &= gt; org.apache.axis2.wsdl.codegen.CodeGenerationException:
> >&nbs= p; java.lang.RuntimeException :
> > org.apache.axis2.schema.SchemaCompilationException :
>= >  Unsupported content Simple Content Extension !
> >= ;          at
> >= ; org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate (CodeGener
> >  ationEngine.java:146)
> > =          at
> > org.a= pache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >  =         at
> > org.apache.= axis2.wsdl.WSDL2Java.main(WSDL2Java.java :21)
> >  Caused by: java.lang.RuntimeException:
>= > org.apache.axis2.schema.SchemaCompilation
> >  Exc= eption: Unsupported content Simple Content Extension !
> > &n= bsp;        at
> >=20 org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
&g= t; >  leDBExtension.java:162)
> >   &n= bsp;      at
> > org.apache.axis2.ws= dl.codegen.CodeGenerationEngine.generate(CodeGener
> >   ationEngine.java:101)
> >       = ;   ... 2 more
> >  Caused by:
> &g= t; org.apache.axis2.schema.SchemaCompilationException:
> > Unsuppo= rted content Simple Content Extension !
> >    = ;      at
> > org.apache.axis2.schema.SchemaCompiler.processSimpleContent(S= chemaCompiler.java:803)
> >      &nb= sp;   at
> > org.apache.axis2.schema.SchemaCompiler= .processContentModel(SchemaCompiler.java:672)
> >          at
= > > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaC= ompiler.java:654)
> >       &nb= sp;  at
> > org.apache.axis2.schema.SchemaCompiler.proce= ssNamedComplexSchemaType (SchemaCompiler.java:604)
> >      &= nbsp;   at
> > org.apache.axis2.schema.SchemaCompil= er.processSchema(SchemaCompiler.java:569)
> >   &nb= sp;      at
> > org.apache.axis2.sch= ema.SchemaCompiler.processElement (SchemaCompiler.java:360)
> >      &= nbsp;   at
> > org.apache.axis2.schema.SchemaCompil= er.processElement(SchemaCompiler.java:338)
> >   &n= bsp;      at
> > org.apache.axis2.sc= hema.SchemaCompiler.compile (SchemaCompiler.java:220)
> >      &= nbsp;   at
> > org.apache.axis2.schema.SchemaCompil= er.compile(SchemaCompiler.java:179)
> >    &nb= sp;     at
> > org.apache.axis2.wsdl.code= gen.extension.SimpleDBExtension.engage (SimpleDBExtension.java:115)
> >     &nbs= p;    ... 3 more
> >  ##############= ######################################
> >  Error with &= quot;Axis 1.2.1"-generated stubs during runtime when calling:
> >      StaticAttributeProfileServ= ice service =3D new
> > StaticAttributeProfileServiceLocator();> >      StaticAttributeProfile myStub= =3D
> > service.getStaticAttributeProfileSOAPPort();
> >      Stub axisStub2 =3D (Stub) = myStub;
> >      [...]
> >&= nbsp;     myStub.getDocumentTypes(epc);
> &g= t;
> >
> >  2006-04-27 10:22:47,410 DEBUG [main= ]
> > org.apache.axis.encoding.DeserializationContext : Popped
> > element stack to
> > org.apache.axis.message= .RPCElement:schemaList
> >  2006-04-27 10:22:47,410 DEBU= G [main]
> > org.apache.axis.encoding.DeserializationContext: Exit= :
> > DeserializationContext::endElement()
> >  2006-04-27 10:22:47,410 DEBUG [main]
> > = org.apache.axis.i18n.ProjectResourceBundle:
> > org.apache.axis.i1= 8n.resource::handleGetObject(exception00)
> >  2006-04-2= 7 10:22:47,410 ERROR [main]=20 org.apache.axis.client.Call:
> > Exception:
> > &nbs= p;org.apache.axis.types.URI$MalformedURIException: No scheme
> > f= ound in URI.
> >  at
> > org.apache.axis.encodi= ng.ser.SimpleDeserializer.onEndElement (SimpleDeserializer.java:180)
> >  at
> > org.a= pache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)<= br>> >  at
> > org.apache.axis.encoding.Deserializ= ationContext.endElement (DeserializationContext.java:1087)
> >  at
> > = org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171= )
> >  at
> > org.apache.axis.message.MessageEl= ement.publishToHandler (MessageElement.java:1141)
> >  at
> > org.apac= he.axis.message.RPCElement.deserialize(RPCElement.java:236)
> >&nb= sp; at
> > org.apache.axis.message.RPCElement.getParams(RPCEl= ement.java:384)
> >  at org.apache.axis.client.Call.invoke(Call.java:2448)<= br>> >  at org.apache.axis.client.Call.invoke(Call.java:234= 7)
> >  at org.apache.axis.client.Call.invoke(Call.java:= 1804)
> >  at
> > _1.wsdl.xml.StaticAttributeProfile.EPCIS.interchange.specificatio= n.epc.StaticAttributeProfileSoapBindingStub.getDocumentTypes(StaticAttribut= eProfileSoapBindingStub.java:535)
> >  ...
> >&= nbsp; ####################################################
> >  Request, as expected
> >  <s= oapenv:Envelope
> >  xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/en= velope/"
> >  xmlns:xsd=3D" http://www.w3.org/2001/XMLSche= ma"
> >  xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance= ">
> >  <soapenv:Header>
> >  <= ;AuthInfo
> >  soapenv:actor=3D"http://schemas.xmlsoap.org/soap/actor/n= ext"
> >  soapenv:mustUnderstand=3D"0"= ;>
> >  <ns1:UserToken
> > xmlns:ns1=3D"u= rn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1">= ;
> >  <ns1:UserName>XXX</ns1:UserName>
&= gt; >  <ns1:Password>XXX</ns1:Password>
> >  </ns1:UserToken>
> >  <= ;/AuthInfo>
> >  </soapenv:Header>
> >=   <soapenv:Body>
> >  <getDocumentTyp= es
> > xmlns=3D"urn:epc:specification:interchange:EPCIS:Stati= cAttributeProfile:xml:wsdl:1">
> >  <epc>urn:epc:id:sgtin:0434687.075859.12</= epc>
> >  </getDocumentTypes>
> > = ; </soapenv:Body>
> >  </soapenv:Envelope&= gt;
> >  ###############################################= #####
> >  Request, as expected
> >  <s= oapenv:Envelope
> >  xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/en= velope/"
> >  xmlns:xsd=3D" http://www.w3.org/2001/XMLSche= ma"
> >  xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance= ">
> >  <soapenv:Body>
> >  <s= chemaList
> > xmlns=3D"urn:epc:specification:interchange:EPCI= S:StaticAttributeProfile:xml:wsdl:1">
> >  <s= chema
> > xmlns=3D"urn:epc:specification:interchange:EPCIS:St= aticAttributeProfile:xml:schema:1">
> >  product_information
> >  </s= chema>
> >  </schemaList>
> > &nb= sp;</soapenv:Body>
> >  </soapenv:Envelope><= br>> >  ###################################################= #
> >  WSDL
> >  <?xml version=3D&q= uot;1.0" encoding=3D"UTF-8"?>
> >  <= ;wsdl:definitions name=3D"StaticDataProfile"
> > targetN= amespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttributePro= file:xml:wsdl:1"
> >  xmlns=3D"http://schemas.xmlsoap.org/wsdl/"
> > xmlns:auth= =3D"urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:= 1"
> > xmlns:pmlidentifier=3D"urn:epc:specification:univ= ersal:Identifier:xml:schema:1"
> >  xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/soap/"
> = >  xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/ "
> > xmlns:static=3D"urn:epc:specification:intercha= nge:EPCIS:StaticAttributeProfile:xml:wsdl:1"
> >  x= mlns:wsdl=3D"http://schem= as.xmlsoap.org/wsdl/ "
> >  xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema">
&g= t; >  <wsdl:types><!-- Begin Auth info schema-->> >  <xsd:schema attributeFormDefault=3D"unqualif= ied"
> >  elementFormDefault=3D"qualified"
>= > targetNamespace=3D"urn:epc:specification:interchange:EPCIS:Authe= ntication:xml:schema:1"
> > xmlns:auth=3D"urn:epc:specif= ication:interchange:EPCIS:Authentication:xml:schema:1"
> >  xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema">
> >&nb= sp; <xsd:complexType name=3D"UserTokenType">
> &= gt;  <xsd:sequence>
> >  <xsd:element name=3D"UserName" type= =3D"xsd:string" />
> >  <xsd:element nam= e=3D"Password" type=3D"xsd:string" />
> >&n= bsp; </xsd:sequence>
> >  </xsd:complexTyp= e>
> >  <xsd:complexType name=3D"AuthInfoType"= ;>
> >  <xsd:sequence>
> >  = <xsd:element name=3D"UserToken"
> >  type= =3D"auth:UserTokenType" />
> >  </xsd:se= quence>
> >  </xsd:complexType>
> >  &= lt;xsd:element name=3D"AuthInfo" type=3D"auth:AuthInfoType&q= uot; />
> >  </xsd:schema><!-- End of Auth i= nfo schema--><!-- Start of Identifier info
> > schema-->
> >  <xsd:schema attribute= FormDefault=3D"unqualified"
> >  elementFormDe= fault=3D"qualified"
> > targetNamespace=3D"urn:epc:= specification:universal:Identifier:xml:schema:1"
> >  version=3D"1.0"
> > xmlns:pmlid= entifier=3D"urn:epc:specification:universal:Identifier:xml:schema:1&qu= ot;
> >  xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema ">
> >  <xsd:element name=3D"ID"= ;
> >  type=3D"pmlidentifier:IdentifierType" /= >
> >  <xsd:complexType name=3D"IdentifierTyp= e">
> >  <xsd:simpleContent>
> >  <xsd:extension base=3D"xsd:token">=
> >  <xsd:attribute name=3D"schemeID"
&= gt; >  type=3D"xsd:token" use=3D"optional"= />
> >  <xsd:attribute name=3D"schemeAgencyI= D"
> >  type=3D"xsd:token" use=3D"optional&= quot; />
> >  <xsd:attribute name=3D"schemeVe= rsionID"
> >  type=3D"xsd:token" use=3D&q= uot;optional" />
> >  <xsd:attribute name=3D&= quot;schemeURI"
> >  type=3D"xsd:anyURI" use=3D"optional= " />
> >  </xsd:extension>
> >&nb= sp; </xsd:simpleContent>
> >  </xsd:comple= xType>
> >  </xsd:schema><!-- End of Identif= ier info schema--><!-- Start of element
> > declarations for StaticProfile Schema-->
> > = ; <xsd:schema attributeFormDefault=3D"unqualified"
>= ; >  elementFormDefault=3D"qualified"
> > t= argetNamespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttrib= uteProfile:xml:schema:1"
> >  version=3D"1.0"
> > xmlns:sap= =3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml= :schema:1"
> >  xmlns:xsd=3D" http://www.w3.org/2001/XMLSchema">
> >  <= xsd:complexType mixed=3D"true" name=3D"xmlType">
= > >  <xsd:sequence>
> >  <xsd:a= ny maxOccurs=3D"unbounded" minOccurs=3D"0"
> >  namespace=3D"##any" />
> >&n= bsp; </xsd:sequence>
> >  </xsd:complexTyp= e>
> >  <xsd:complexType name=3D"schemaList&q= uot;>
> >  <xsd:sequence>
> >  <xsd:element maxOccurs=3D"unbounded" = minOccurs=3D"0"
> >  name=3D"schema"= type=3D"sap:schemaType" />
> >  </xsd:s= equence>
> >  </xsd:complexType>
> >  <xsd:simpleType name=3D"schemaType"&g= t;
> >  <xsd:restriction base=3D"xsd:anyURI"= ; />
> >  </xsd:simpleType>
> > &= nbsp;<xsd:complexType name=3D"epcList">
> >  <xsd:sequence>
> >  <x= sd:element maxOccurs=3D"unbounded" minOccurs=3D"0"
&= gt; >  name=3D"epc" type=3D"sap:epcType" /= >
> >  </xsd:sequence>
> >  </xsd:complexType>
> >  &= lt;xsd:simpleType name=3D"epcType">
> >  &l= t;xsd:restriction base=3D"xsd:anyURI" />
> > &nb= sp;</xsd:simpleType>
> >  <xsd:simpleType name= =3D"successType">
> >  <xsd:restriction base=3D"xsd:boolean"= />
> >  </xsd:simpleType>
> > &n= bsp;<xsd:complexType name=3D"xpathType">
> > =  <xsd:sequence>
> >  <xsd:element name=3D&= quot;expr" type=3D"xsd:string" />
> >  <xsd:element minOccurs=3D"0" name=3D&= quot;nsdecl"
> >  type=3D"xsd:string">=
> >  <xsd:annotation>
> >  <= ;xsd:documentation>
> >  The namespace declarations u= sed by
> >  the xpath expression. This is a list
> >&= nbsp; of space delimited NS declarations
> >  usual= ly of the for
> >  xmlns:[somePrefix]=3D[someURI]
>= ; >  </xsd:documentation>
> >  </xsd:annotation>
> >  </x= sd:element>
> >  </xsd:sequence>
> >&n= bsp; </xsd:complexType>
> >  </xsd:schema&= gt;<!-- End of elements  for Static Profile Schema-->
> >  <!-- Start of element declerations for StaticPr= ofile wsdl-->
> >  <xsd:schema attributeFormDefaul= t=3D"unqualified"
> >  elementFormDefault=3D&q= uot;qualified"
> > targetNamespace=3D"urn:epc:specificat= ion:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1"
> > xmlns:pmlidentifier=3D"urn:epc:specification:universal:I= dentifier:xml:schema:1"
> > xmlns:sap=3D"urn:epc:specifi= cation:interchange:EPCIS:StaticAttributeProfile:xml:schema:1"
> = > xmlns:static=3D"urn:epc:specification:interchange:EPCIS:StaticAtt= ributeProfile:xml:wsdl:1"
> >  xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema">
> >&nb= sp; <xsd:import
> > namespace=3D"urn:epc:specificatio= n:interchange:EPCIS:Authentication:xml:schema:1"
> > />
> >  <xsd:import
> > nam= espace=3D"urn:epc:specification:universal:Identifier:xml:schema:1"= ;
> > />
> >  <xsd:import
> > na= mespace=3D"urn:epc:specification:interchange:EPCIS:StaticAttributeProf= ile:xml:schema:1"
> > />
> >  <xsd:complexType name=3D&quo= t;attributeDataIn">
> >  <xsd:sequence>> >  <xsd:element name=3D"epc"
> >&n= bsp; type=3D"pmlidentifier:IdentifierType" />
> >  <xsd:element name=3D"schema"
> = >  type=3D"sap:schemaType" />
> > &= nbsp;<xsd:element name=3D"xpath" type=3D"sap:xpathType&qu= ot; />
> >  <xsd:element form=3D"unqualified&= quot; name=3D"value"
> >  type=3D"sap:xmlType" />
> >&= nbsp; </xsd:sequence>
> >  </xsd:complexTy= pe>
> >  <xsd:element name=3D"addAttributeDat= a"
> >  type=3D"static:attributeDataIn" /= >
> >  <xsd:element name=3D"setAttributeData"= ;
> >  type=3D"static:attributeDataIn" />> >  <xsd:complexType name=3D"getAttributeData&qu= ot;>
> >  <xsd:sequence>
> >  <xsd:element name=3D"epc"
> >= ;  type=3D"pmlidentifier:IdentifierType" />
> = >  <xsd:element name=3D"schema"
> > = ; type=3D"sap:schemaType" />
> >  <xsd:element name=3D"xpath" type=3D&q= uot;sap:xpathType" />
> >  </xsd:sequence>=
> >  </xsd:complexType>
> >  &= lt;xsd:element name=3D"getAttributeData"
> >  type=3D"static:getAttributeData" />> >  <xsd:element name=3D"deleteAttributeData&quo= t;
> >  type=3D"static:getAttributeData" />=
> >  <xsd:complexType name=3D"EPCSWithAttribute= ">
> >  <xsd:sequence>
> >  <x= sd:element name=3D"schema"
> >  type=3D"s= ap:schemaType" />
> >  <xsd:element name=3D&q= uot;xpath" type=3D"sap:xpathType" />
> >  </xsd:sequence>
> >  <= /xsd:complexType>
> >  <xsd:element name=3D"g= etEPCSWithAttribute"
> >  type=3D"static:EPCSW= ithAttribute" />
> >  <xsd:element name=3D&qu= ot;deleteEPCSWithAttribute"
> >  type=3D"static:EPCSWithAttribute" /><= br>> >  <xsd:element name=3D"getDocumentTypes"= >
> >  <xsd:complexType>
> > &nbs= p;<xsd:sequence>
> >  <xsd:element name=3D"= ;epc"
> >  type=3D"pmlidentifier:IdentifierType" /&= gt;
> >  </xsd:sequence>
> >  &= lt;/xsd:complexType>
> >  </xsd:element>
>= ; >  <xsd:element name=3D"schemaList" type=3D&quo= t;sap:schemaList" />
> >  <xsd:element name=3D"attribute" type= =3D"sap:xmlType" />
> >  <xsd:element na= me=3D"epcList" type=3D"sap:epcList" />
> >&= nbsp; <xsd:element name=3D"success" type=3D"sap:succ= essType" />
> >  </xsd:schema><!-- End element declaration= s for StaticProfile wsdl-->
> >  </wsdl:types><= br>> >  <!-- Start Wsdl Messages -->
> >&nbs= p; <wsdl:message name=3D"authenticationMessage">
> >  <wsdl:part element=3D"auth:AuthInfo" = name=3D"AuthInfo" />
> >  </wsdl:message= >
> >  <wsdl:message name=3D"addAttributeData= In">
> >  <wsdl:part element=3D"static:a= ddAttributeData"
> >  name=3D"addAttributeData" />
> = >  </wsdl:message>
> >  <wsdl:mess= age name=3D"addAttributeDataOut">
> >  <= wsdl:part element=3D"static:success" name=3D"success" /= >
> >  </wsdl:message>
> >  <= wsdl:message name=3D"getAttributeDataIn">
> > &n= bsp;<wsdl:part element=3D"static:getAttributeData"
> >= ;  name=3D"getAttributeData" />
> >  </wsdl:message>
> >  <= wsdl:message name=3D"getAttributeDataOut">
> > &= nbsp;<wsdl:part element=3D"static:attribute" name=3D"attr= ibute" />
> >  </wsdl:message>
> >  <wsdl:message name=3D"setAttributeDataIn&q= uot;>
> >  <wsdl:part element=3D"static:setAt= tributeData"
> >  name=3D"setAttributeData&quo= t; />
> >  </wsdl:message>
> >  <wsdl:message name=3D"setAttributeDataOut&= quot;>
> >  <part element=3D"static:success&q= uot; name=3D"success" />
> >  </wsdl:mes= sage>
> >  <wsdl:message name=3D"deleteAttrib= uteDataIn">
> >  <wsdl:part element=3D"static:deleteAttribu= teData"
> >  name=3D"deleteAttributeData"= />
> >  </wsdl:message>
> > &nbs= p;<wsdl:message name=3D"deleteAttributeDataOut">
> >  <wsdl:part element=3D"static:success"= name=3D"success" />
> >  </wsdl:message= >
> >  <wsdl:message name=3D"getEPCSWithAttri= buteIn">
> >  <wsdl:part element=3D"stat= ic:getEPCSWithAttribute"
> >  name=3D"getEPCSWithAttribute" />
&= gt; >  </wsdl:message>
> >  <messa= ge name=3D"getEPCSWithAttributeOut">
> >  &= lt;wsdl:part element=3D"static:epcList" name=3D"epcList"= ; />
> >  </message>
> >  <wsdl:= message name=3D"deleteEPCSWithAttributeIn">
> > =  <wsdl:part element=3D"static:deleteEPCSWithAttribute"> >  name=3D"deleteEPCSWithAttribute" />
> >  </wsdl:message>
> >  <= wsdl:message name=3D"deleteEPCSWithAttributeOut">
> >=   <wsdl:part element=3D"static:success" name=3D"= ;success" />
> >  </wsdl:message>
> >  <wsdl:message name=3D"getDocumentTypesIn&q= uot;>
> >  <wsdl:part element=3D"static:getDo= cumentTypes"
> >  name=3D"getDocumentTypes&quo= t; />
> >  </wsdl:message>
> >  <wsdl:message name=3D"getDocumentTypesOut&= quot;>
> >  <wsdl:part element=3D"static:sche= maList" name=3D"schemaList" />
> >  &l= t;/wsdl:message>
> >  <!-- End Wsdl Messages -->= ;
> >  <wsdl:portType name=3D"StaticAttributeProf= ile">
> >  <wsdl:operation name=3D"addAt= tributeData">
> >  <wsdl:input message=3D&quo= t;static:addAttributeDataIn"
> >  name=3D"addAttributeDataInput" />
= > >  <wsdl:output message=3D"static:addAttributeDat= aOut"
> >  name=3D"addAttributeDataOutput"= ; />
> >  </wsdl:operation>
> >  <wsdl:operation name=3D"getAttributeData&q= uot;>
> >  <wsdl:input message=3D"static:getA= ttributeDataIn"
> >  name=3D"getAttributeDataI= nput" />
> >  <wsdl:output message=3D"st= atic:getAttributeDataOut"
> >  name=3D"getAttributeDataOutput" />> >  </wsdl:operation>
> >  <w= sdl:operation name=3D"setAttributeData">
> > &nb= sp;<wsdl:input message=3D"static:setAttributeDataIn"
> >  name=3D"setAttributeDataInput" />
= > >  <wsdl:output message=3D"static:setAttributeDat= aOut"
> >  name=3D"setAttributeDataOutput"= ; />
> >  </wsdl:operation>
> >  <wsdl:operation name=3D"deleteAttributeDat= a">
> >  <wsdl:input message=3D"static:d= eleteAttributeDataIn"
> >  name=3D"deleteAttri= buteDataInput" />
> >  <wsdl:output message= =3D"static:deleteAttributeDataOut"
> >  name=3D"deleteAttributeDataOutput" />=
> >  </wsdl:operation>
> >  &l= t;wsdl:operation name=3D"getEPCSWithAttribute">
> >&n= bsp; <wsdl:input message=3D"static:getEPCSWithAttributeIn"= ;
> >  name=3D"getEPCSWithAttributeInput" />=
> >  <wsdl:output message=3D"static:getEPCSWith= AttributeOut"
> >  name=3D"getEPCSWithAttribut= eOutput" />
> >  </wsdl:operation>
> >  <wsdl:operation name=3D"deleteEPCSWithAttr= ibute">
> >  <wsdl:input message=3D"stat= ic:deleteEPCSWithAttributeIn"
> >  name=3D"del= eteEPCSWithAttributeInput" />
> >  <wsdl:output message=3D"static:deleteEPCSW= ithAttributeOut"
> >  name=3D"deleteEPCSWithAt= tributeOutput" />
> >  </wsdl:operation>> >  <wsdl:operation name=3D"getDocumentTypes&quo= t;>
> >  <wsdl:input message=3D"static:getDocumentT= ypesIn"
> >  name=3D"getDocumentTypesInput&quo= t; />
> >  <wsdl:output message=3D"static:get= DocumentTypesOut"
> >  name=3D"getDocumentType= sOutput" />
> >  </wsdl:operation>
> >  &l= t;/wsdl:portType>
> >  <wsdl:binding name=3D"= StaticAttributeProfileSoapBinding"
> >  type=3D&quo= t;static:StaticAttributeProfile">
> >  <soap:binding style=3D"document"
&= gt; >  transport=3D"http://schemas.xmlsoap.org/soap/http" />
> &g= t;  <wsdl:operation name=3D"addAttributeData">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= addAttributeData"
> > />
> >  <wsdl:= input name=3D"addAttributeDataInput">
> >  <soap:header message=3D"static:authenticat= ionMessage"
> >  part=3D"AuthInfo" use=3D= "literal" />
> >  <soap:body use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"addAttributeDataOutpu= t">
> >  <soap:body use=3D"literal"= />
> >  </wsdl:output>
> >  = ;</wsdl:operation>
> >  <wsdl:operation name=3D= "getAttributeData">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= getAttributeData"
> >  style=3D"document"= />
> >  <wsdl:input name=3D"getAttributeData= Input">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"getAttributeDataOutpu= t">
> >  <soap:body use=3D"literal"= />
> >  </wsdl:output>
> >  = ;</wsdl:operation>
> >  <wsdl:operation name=3D= "setAttributeData">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= setAttributeData"
> >  style=3D"document"= />
> >  <wsdl:input name=3D"setAttributeData= Input">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"setAttributeDataOutpu= t">
> >  <soap:body use=3D"literal"= />
> >  </wsdl:output>
> >  = ;</wsdl:operation>
> >  <wsdl:operation name=3D= "deleteAttributeData">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= deleteAttributeData"
> >  style=3D"document&qu= ot; />
> >  <wsdl:input name=3D"deleteAttribu= teDataInput">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"deleteAttributeDataOu= tput">
> >  <soap:body use=3D"literal&qu= ot; />
> >  </wsdl:output>
> > &n= bsp;</wsdl:operation>
> >  <wsdl:operation name= =3D"getEPCSWithAttribute">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= getEPCSWithAttribute"
> >  style=3D"document&q= uot; />
> >  <wsdl:input name=3D"getEPCSWithA= ttributeInput">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"getEPCSWithAttributeO= utput">
> >  <soap:body use=3D"literal&q= uot; />
> >  </wsdl:output>
> > &= nbsp;</wsdl:operation>
> >  <wsdl:operation nam= e=3D"deleteEPCSWithAttribute">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= deleteEPCSWithAttribute"
> >  style=3D"documen= t" />
> >  <wsdl:input name=3D"deleteEPC= SWithAttributeInput">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"deleteEPCSWithAttribu= teOutput">
> >  <soap:body use=3D"litera= l" />
> >  </wsdl:output>
> >&nbs= p; </wsdl:operation>
> >  <wsdl:operation = name=3D"getDocumentTypes">
> >  <soap:operation
> > soapAction=3D"= ;urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/= getDocumentTypes"
> >  style=3D"document"= />
> >  <wsdl:input name=3D"getDocumentTypes= Input">
> >  <soap:body use=3D"literal" />
&= gt; >  <soap:header message=3D"static:authenticationMe= ssage"
> >  part=3D"AuthInfo" use=3D"= ;literal" />
> >  </wsdl:input>
> >  <wsdl:output name=3D"getDocumentTypesOutpu= t">
> >  <soap:body use=3D"literal"= />
> >  </wsdl:output>
> >  = ;</wsdl:operation>
> >  </wsdl:binding>
> >  <wsdl:service name=3D"StaticAttributeProfi= leService">
> >  <wsdl:port
> > bind= ing=3D"static:StaticAttributeProfileSoapBinding"
> >&nbs= p; name=3D"StaticAttributeProfileSOAPPort">
> >  <soap:address
> >  location= =3D"http://[XXX]/static/StaticAttributeProfile" />
> >= ;  </wsdl:port>
> >  </wsdl:service&g= t;
> >  </wsdl:definitions>
> >
> >
> >
> >
>
>
>= ; --
> Ajith Ranabahu
>


------=_Part_3624_13445065.1146154559779--