[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-user
Subject: AW: WSDL-File incompatible with Axis1 Axis2
From: Christian_Kölle <koellemcchrisi () gmx ! de>
Date: 2006-04-29 0:02:28
Message-ID: 000401c66b20$344fd350$0500a8c0 () l8600
[Download RAW message or body]
Many thanks for your quick support Robert & Ajith. So far, it seems to
work. :-) After application I received following response error:
| Failure of server APACHE bridge:
| POST and PUT requests *must* contain a Content-Length
| Build date/time: Sep 4 2003 14:30:53
| Change Number: 289956
It could be prevented by...
"stub._getServiceClient().getOptions().setProperty(MessageContextConstants.C
HUNKED, Constants.VALUE_FALSE);"
Chris
-----Ursprüngliche Nachricht-----
Von: robert lazarski [mailto:robertlazarski@gmail.com]
Gesendet: Donnerstag, 27. April 2006 18:16
An: axis-user@ws.apache.org
Betreff: Re: WSDL-File incompatible with Axis1 Axis2
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 your
classpath.
HTH,
Robert
http://www.braziloutsource.com/
On 4/27/06, Koelle, Christian < <mailto:koellemcchrisi@gmx.de>
koellemcchrisi@gmx.de> 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.UserTokenTy
pe$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.TypeSyste
mHolder. 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.UserTokenTy
pe.<clinit>(UserTokenType.java:19)
... 2 more
Caused by: java.lang.ClassNotFoundException:
schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSyste
mHolder
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 <koellemcchrisi@gmx.de> wrote:
> > Hi,
> >
> > would someone please mind taking a glimpse on the following wsdl-file
> > 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.j
ava:803)
> > at
> >
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.ja
va:672)
> > at
> >
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.jav
a: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:33
8)
> > 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 = new
> > StaticAttributeProfileServiceLocator();
> > StaticAttributeProfile myStub =
> > service.getStaticAttributeProfileSOAPPort();
> > Stub axisStub2 = (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:5
02)
> > 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.Stati
cAttributeProfileSoapBindingStub.getDocumentTypes(StaticAttributeProfileSoap
BindingStub.java:535)
> > ...
> > ####################################################
> > Request, as expected
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Header>
> > <AuthInfo
> > soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
> > soapenv:mustUnderstand="0">
> > <ns1:UserToken
> >
xmlns:ns1="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema
:1">
> > <ns1:UserName>XXX</ns1:UserName>
> > <ns1:Password>XXX</ns1:Password>
> > </ns1:UserToken>
> > </AuthInfo>
> > </soapenv:Header>
> > <soapenv:Body>
> > <getDocumentTypes
> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:ws
dl:1">
> > <epc>urn:epc:id:sgtin:0434687.075859.12</epc>
> > </getDocumentTypes>
> > </soapenv:Body>
> > </soapenv:Envelope>
> > ####################################################
> > Request, as expected
> > <soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> > xmlns:xsd=" http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > <soapenv:Body>
> > <schemaList
> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:ws
dl:1">
> > <schema
> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:sc
hema:1">
> > product_information
> > </schema>
> > </schemaList>
> > </soapenv:Body>
> > </soapenv:Envelope>
> > ####################################################
> > WSDL
> > <?xml version="1.0" encoding="UTF-8"?>
> > <wsdl:definitions name="StaticDataProfile"
> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProf
ile:xml:wsdl:1"
> > xmlns="http://schemas.xmlsoap.org/wsdl/"
> >
xmlns:auth="urn:epc:specification:interchange:EPCIS:Authentication:xml:schem
a:1"
> >
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1
"
> > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/
<http://schemas.xmlsoap.org/soap/encoding/> "
> >
xmlns:static="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile
:xml:wsdl:1"
> > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/
<http://schemas.xmlsoap.org/wsdl/> "
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > <wsdl:types><!-- Begin Auth info schema-->
> > <xsd:schema attributeFormDefault="unqualified"
> > elementFormDefault="qualified"
> >
targetNamespace="urn:epc:specification:interchange:EPCIS:Authentication:xml:
schema:1"
> >
xmlns:auth="urn:epc:specification:interchange:EPCIS:Authentication:xml:schem
a:1"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > <xsd:complexType name="UserTokenType">
> > <xsd:sequence>
> > <xsd:element name="UserName" type="xsd:string" />
> > <xsd:element name="Password" type="xsd:string" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:complexType name="AuthInfoType">
> > <xsd:sequence>
> > <xsd:element name="UserToken"
> > type="auth:UserTokenType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:element name="AuthInfo" type="auth:AuthInfoType" />
> > </xsd:schema><!-- End of Auth info schema--><!-- Start of Identifier
info
> > schema-->
> > <xsd:schema attributeFormDefault="unqualified"
> > elementFormDefault="qualified"
> >
targetNamespace="urn:epc:specification:universal:Identifier:xml:schema:1"
> > version="1.0"
> >
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1
"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema
<http://www.w3.org/2001/XMLSchema> ">
> > <xsd:element name="ID"
> > type="pmlidentifier:IdentifierType" />
> > <xsd:complexType name="IdentifierType">
> > <xsd:simpleContent>
> > <xsd:extension base="xsd:token">
> > <xsd:attribute name="schemeID"
> > type="xsd:token" use="optional" />
> > <xsd:attribute name="schemeAgencyID"
> > type="xsd:token" use="optional" />
> > <xsd:attribute name="schemeVersionID"
> > type="xsd:token" use="optional" />
> > <xsd:attribute name="schemeURI"
> > type="xsd:anyURI" use="optional" />
> > </xsd:extension>
> > </xsd:simpleContent>
> > </xsd:complexType>
> > </xsd:schema><!-- End of Identifier info schema--><!-- Start of element
> > declarations for StaticProfile Schema-->
> > <xsd:schema attributeFormDefault="unqualified"
> > elementFormDefault="qualified"
> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProf
ile:xml:schema:1"
> > version="1.0"
> >
xmlns:sap="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xm
l:schema:1"
> > xmlns:xsd=" <http://www.w3.org/2001/XMLSchema>
http://www.w3.org/2001/XMLSchema">
> > <xsd:complexType mixed="true" name="xmlType">
> > <xsd:sequence>
> > <xsd:any maxOccurs="unbounded" minOccurs="0"
> > namespace="##any" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:complexType name="schemaList">
> > <xsd:sequence>
> > <xsd:element maxOccurs="unbounded" minOccurs="0"
> > name="schema" type="sap:schemaType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:simpleType name="schemaType">
> > <xsd:restriction base="xsd:anyURI" />
> > </xsd:simpleType>
> > <xsd:complexType name="epcList">
> > <xsd:sequence>
> > <xsd:element maxOccurs="unbounded" minOccurs="0"
> > name="epc" type="sap:epcType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:simpleType name="epcType">
> > <xsd:restriction base="xsd:anyURI" />
> > </xsd:simpleType>
> > <xsd:simpleType name="successType">
> > <xsd:restriction base="xsd:boolean" />
> > </xsd:simpleType>
> > <xsd:complexType name="xpathType">
> > <xsd:sequence>
> > <xsd:element name="expr" type="xsd:string" />
> > <xsd:element minOccurs="0" name="nsdecl"
> > type="xsd:string">
> > <xsd:annotation>
> > <xsd:documentation>
> > The namespace declarations used by
> > the xpath expression. This is a list
> > of space delimited NS declarations
> > usually of the for
> > xmlns:[somePrefix]=[someURI]
> > </xsd:documentation>
> > </xsd:annotation>
> > </xsd:element>
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:schema><!-- End of elements for Static Profile Schema-->
> > <!-- Start of element declerations for StaticProfile wsdl-->
> > <xsd:schema attributeFormDefault="unqualified"
> > elementFormDefault="qualified"
> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProf
ile:xml:wsdl:1"
> >
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1
"
> >
xmlns:sap="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xm
l:schema:1"
> >
xmlns:static="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile
:xml:wsdl:1"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema">
> > <xsd:import
> >
namespace="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema
:1"
> > />
> > <xsd:import
> > namespace="urn:epc:specification:universal:Identifier:xml:schema:1"
> > />
> > <xsd:import
> >
namespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xm
l:schema:1"
> > />
> > <xsd:complexType name="attributeDataIn">
> > <xsd:sequence>
> > <xsd:element name="epc"
> > type="pmlidentifier:IdentifierType" />
> > <xsd:element name="schema"
> > type="sap:schemaType" />
> > <xsd:element name="xpath" type="sap:xpathType" />
> > <xsd:element form="unqualified" name="value"
> > type="sap:xmlType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:element name="addAttributeData"
> > type="static:attributeDataIn" />
> > <xsd:element name="setAttributeData"
> > type="static:attributeDataIn" />
> > <xsd:complexType name="getAttributeData">
> > <xsd:sequence>
> > <xsd:element name="epc"
> > type="pmlidentifier:IdentifierType" />
> > <xsd:element name="schema"
> > type="sap:schemaType" />
> > <xsd:element name="xpath" type="sap:xpathType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:element name="getAttributeData"
> > type="static:getAttributeData" />
> > <xsd:element name="deleteAttributeData"
> > type="static:getAttributeData" />
> > <xsd:complexType name="EPCSWithAttribute">
> > <xsd:sequence>
> > <xsd:element name="schema"
> > type="sap:schemaType" />
> > <xsd:element name="xpath" type="sap:xpathType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > <xsd:element name="getEPCSWithAttribute"
> > type="static:EPCSWithAttribute" />
> > <xsd:element name="deleteEPCSWithAttribute"
> > type="static:EPCSWithAttribute" />
> > <xsd:element name="getDocumentTypes">
> > <xsd:complexType>
> > <xsd:sequence>
> > <xsd:element name="epc"
> > type="pmlidentifier:IdentifierType" />
> > </xsd:sequence>
> > </xsd:complexType>
> > </xsd:element>
> > <xsd:element name="schemaList" type="sap:schemaList" />
> > <xsd:element name="attribute" type="sap:xmlType" />
> > <xsd:element name="epcList" type="sap:epcList" />
> > <xsd:element name="success" type="sap:successType" />
> > </xsd:schema><!-- End element declarations for StaticProfile wsdl-->
> > </wsdl:types>
> > <!-- Start Wsdl Messages -->
> > <wsdl:message name="authenticationMessage">
> > <wsdl:part element="auth:AuthInfo" name="AuthInfo" />
> > </wsdl:message>
> > <wsdl:message name="addAttributeDataIn">
> > <wsdl:part element="static:addAttributeData"
> > name="addAttributeData" />
> > </wsdl:message>
> > <wsdl:message name="addAttributeDataOut">
> > <wsdl:part element="static:success" name="success" />
> > </wsdl:message>
> > <wsdl:message name="getAttributeDataIn">
> > <wsdl:part element="static:getAttributeData"
> > name="getAttributeData" />
> > </wsdl:message>
> > <wsdl:message name="getAttributeDataOut">
> > <wsdl:part element="static:attribute" name="attribute" />
> > </wsdl:message>
> > <wsdl:message name="setAttributeDataIn">
> > <wsdl:part element="static:setAttributeData"
> > name="setAttributeData" />
> > </wsdl:message>
> > <wsdl:message name="setAttributeDataOut">
> > <part element="static:success" name="success" />
> > </wsdl:message>
> > <wsdl:message name="deleteAttributeDataIn">
> > <wsdl:part element="static:deleteAttributeData"
> > name="deleteAttributeData" />
> > </wsdl:message>
> > <wsdl:message name="deleteAttributeDataOut">
> > <wsdl:part element="static:success" name="success" />
> > </wsdl:message>
> > <wsdl:message name="getEPCSWithAttributeIn">
> > <wsdl:part element="static:getEPCSWithAttribute"
> > name="getEPCSWithAttribute" />
> > </wsdl:message>
> > <message name="getEPCSWithAttributeOut">
> > <wsdl:part element="static:epcList" name="epcList" />
> > </message>
> > <wsdl:message name="deleteEPCSWithAttributeIn">
> > <wsdl:part element="static:deleteEPCSWithAttribute"
> > name="deleteEPCSWithAttribute" />
> > </wsdl:message>
> > <wsdl:message name="deleteEPCSWithAttributeOut">
> > <wsdl:part element="static:success" name="success" />
> > </wsdl:message>
> > <wsdl:message name="getDocumentTypesIn">
> > <wsdl:part element="static:getDocumentTypes"
> > name="getDocumentTypes" />
> > </wsdl:message>
> > <wsdl:message name="getDocumentTypesOut">
> > <wsdl:part element="static:schemaList" name="schemaList" />
> > </wsdl:message>
> > <!-- End Wsdl Messages -->
> > <wsdl:portType name="StaticAttributeProfile">
> > <wsdl:operation name="addAttributeData">
> > <wsdl:input message="static:addAttributeDataIn"
> > name="addAttributeDataInput" />
> > <wsdl:output message="static:addAttributeDataOut"
> > name="addAttributeDataOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="getAttributeData">
> > <wsdl:input message="static:getAttributeDataIn"
> > name="getAttributeDataInput" />
> > <wsdl:output message="static:getAttributeDataOut"
> > name="getAttributeDataOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="setAttributeData">
> > <wsdl:input message="static:setAttributeDataIn"
> > name="setAttributeDataInput" />
> > <wsdl:output message="static:setAttributeDataOut"
> > name="setAttributeDataOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="deleteAttributeData">
> > <wsdl:input message="static:deleteAttributeDataIn"
> > name="deleteAttributeDataInput" />
> > <wsdl:output message="static:deleteAttributeDataOut"
> > name="deleteAttributeDataOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="getEPCSWithAttribute">
> > <wsdl:input message="static:getEPCSWithAttributeIn"
> > name="getEPCSWithAttributeInput" />
> > <wsdl:output message="static:getEPCSWithAttributeOut"
> > name="getEPCSWithAttributeOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="deleteEPCSWithAttribute">
> > <wsdl:input message="static:deleteEPCSWithAttributeIn"
> > name="deleteEPCSWithAttributeInput" />
> > <wsdl:output message="static:deleteEPCSWithAttributeOut"
> > name="deleteEPCSWithAttributeOutput" />
> > </wsdl:operation>
> > <wsdl:operation name="getDocumentTypes">
> > <wsdl:input message="static:getDocumentTypesIn"
> > name="getDocumentTypesInput" />
> > <wsdl:output message="static:getDocumentTypesOut"
> > name="getDocumentTypesOutput" />
> > </wsdl:operation>
> > </wsdl:portType>
> > <wsdl:binding name="StaticAttributeProfileSoapBinding"
> > type="static:StaticAttributeProfile">
> > <soap:binding style="document"
> > transport="http://schemas.xmlsoap.org/soap/http" />
> > <wsdl:operation name="addAttributeData">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/addAttributeData"
> > />
> > <wsdl:input name="addAttributeDataInput">
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > <soap:body use="literal" />
> > </wsdl:input>
> > <wsdl:output name="addAttributeDataOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="getAttributeData">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/getAttributeData"
> > style="document" />
> > <wsdl:input name="getAttributeDataInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="getAttributeDataOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="setAttributeData">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/setAttributeData"
> > style="document" />
> > <wsdl:input name="setAttributeDataInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="setAttributeDataOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="deleteAttributeData">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/deleteAttributeData"
> > style="document" />
> > <wsdl:input name="deleteAttributeDataInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="deleteAttributeDataOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="getEPCSWithAttribute">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/getEPCSWithAttribute"
> > style="document" />
> > <wsdl:input name="getEPCSWithAttributeInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="getEPCSWithAttributeOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="deleteEPCSWithAttribute">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/deleteEPCSWithAttribute"
> > style="document" />
> > <wsdl:input name="deleteEPCSWithAttributeInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="deleteEPCSWithAttributeOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > <wsdl:operation name="getDocumentTypes">
> > <soap:operation
> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:x
ml:wsdl:1/getDocumentTypes"
> > style="document" />
> > <wsdl:input name="getDocumentTypesInput">
> > <soap:body use="literal" />
> > <soap:header message="static:authenticationMessage"
> > part="AuthInfo" use="literal" />
> > </wsdl:input>
> > <wsdl:output name="getDocumentTypesOutput">
> > <soap:body use="literal" />
> > </wsdl:output>
> > </wsdl:operation>
> > </wsdl:binding>
> > <wsdl:service name="StaticAttributeProfileService">
> > <wsdl:port
> > binding="static:StaticAttributeProfileSoapBinding"
> > name="StaticAttributeProfileSOAPPort">
> > <soap:address
> > location="http://[XXX]/static/StaticAttributeProfile" />
> > </wsdl:port>
> > </wsdl:service>
> > </wsdl:definitions>
> >
> >
> >
> >
>
>
> --
> Ajith Ranabahu
>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Nachricht</TITLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=772234222-28042006><FONT face=Arial size=2>Many thanks for your
quick support Robert & <FONT size=2>Ajith</FONT>. </FONT></SPAN><SPAN
class=772234222-28042006><FONT face=Arial size=2>So far, it seems to work.
> -) </FONT></SPAN><SPAN class=772234222-28042006><FONT face=Arial
size=2>After application I received following response error:
</FONT></SPAN></DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=772234222-28042006><FONT size=2>| Failure of server APACHE
bridge:<BR><FONT size=2>| POST and PUT requests *must* contain a
Content-Length<BR>| Build date/time<SPAN class=772234222-28042006>: </SPAN>Sep 4
2003 14:30:53<BR></FONT><FONT size=2>| Change Number<SPAN
class=772234222-28042006>: </SPAN>289956</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial size=2>It could be
prevented by...</FONT></SPAN></DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2>"stub._getServiceClient().getOptions().setProperty(MessageContextConstants.CHUNKED, \
Constants.VALUE_FALSE);"</FONT></SPAN></DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=772234222-28042006><FONT face=Arial
size=2>Chris</FONT></SPAN></DIV>
<DIV><SPAN class=772234222-28042006>
<P><FONT color=#ff0000 size=2></FONT></SPAN> </P></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> robert lazarski
[mailto:robertlazarski@gmail.com] <BR><B>Gesendet:</B> Donnerstag, 27. April
2006 18:16<BR><B>An:</B> axis-user@ws.apache.org<BR><B>Betreff:</B> Re:
WSDL-File incompatible with Axis1 Axis2<BR><BR></FONT></DIV>The code
generation guide explains this feature of xmlbeans: <BR><BR><A
href="http://ws.apache.org/axis2/0_95/CodegenToolReference.html">http://ws.apache.org/axis2/0_95/CodegenToolReference.html</A><BR><BR>"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."<BR><BR>So you
need to get the TypeSystemHolder.class generated by WSDL2Java in your
classpath. <BR><BR>HTH,<BR>Robert<BR><A
href="http://www.braziloutsource.com/">http://www.braziloutsource.com/</A><BR><BR>
<DIV><SPAN class=gmail_quote>On 4/27/06, <B class=gmail_sendername>Koelle,
Christian</B> <<A href="mailto:koellemcchrisi@gmx.de">
koellemcchrisi@gmx.de</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) \
1px solid">Thanks for your quick response.<BR><BR>Good:<BR>The axis2 WSDL2Java runs \
without error and generates the required java <BR>files if "-d xmlbeans" is
used.<BR><BR>Notes:<BR>Then I sticked to the Axis2 manual: The input
parameter are to be<BR>created by factories on the Interfaces of input
parameter types.<BR><BR>Bad:<BR>I cannot use any factory on any type, as I
am always getting an error <BR>like the following. Please note that the
generated ",xsb"-Files are on<BR>the classpath.<BR><BR>Question:<BR>What
would you suggest do next? Is it more expected to be a misusage<BR>issue of
"xmlbeans" or more like to get fixed by getting deeper into
<BR>wsdl-definitions?<BR><BR>thx<BR>Christian<BR><BR>#######################################################<BR>Exception \
in thread "main"
java.lang.ExceptionInInitializerError<BR>   \
; at<BR>_1.schema.xml.authentication.epcis.interchange.specification.epc.UserTokenType$Factory.newInstance( \
UserTokenType.java:69)<BR> at<BR>de.f \
hg.fokus.sensors.epcglob.WebServiceUtilsAxis2.main(WebServiceUtilsAxis2.java:47)<BR>Caused \
by: java.lang.RuntimeException: Cannot load SchemaTypeSystem.<BR>Unable to
load class with name
<BR>schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSystemHolder. \
Make sure the generated binary files are on the
classpath.<BR> at<BR>org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java \
:781)<BR> at<BR>_1.schema.xml.authent \
ication.epcis.interchange.specification.epc.UserTokenType.<clinit>(UserTokenType.java:19)<BR> ... \
2 more<BR>Caused by:
java.lang.ClassNotFoundException:<BR>schemaorg_apache_xmlbeans.system.sE8D74C43B4CA14DB64488CB73633D6D3.TypeSystemHolder \
<BR> at
java.net.URLClassLoader$1.run(URLClassLoader.java:200)<BR> at \
java.security.AccessController.doPrivileged(Native
Method)<BR> at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)<BR> at \
java.lang.ClassLoader.loadClass(ClassLoader.java:306)<BR> at \
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)<BR> at \
java.lang.ClassLoader.loadClass(ClassLoader.java:251)<BR> at<BR>org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader \
(XmlBeans.java:767)<BR> ... 3
mor<BR><BR>#######################################################<BR><BR><BR>On
Thu, 2006-04-27 at 15:56 +0530, Ajith Ranabahu wrote:<BR>> Hi,<BR>>
Try the XMLBeans databinding with the -d xmlbeans <BR>><BR>> On
4/27/06, Koelle, Christian <<A
href="mailto:koellemcchrisi@gmx.de">koellemcchrisi@gmx.de</A>>
wrote:<BR>> > Hi,<BR>> ><BR>>
> would someone please mind taking a glimpse on the following
wsdl-file <BR>> > regarding axis1 and axis2 compatibility? Thanks in
advance. All new for me,<BR>> > and I don't know where to look first.
Seems that the first wsdl-file I got<BR>> > is not a good
start.<BR>> > <BR>> > Background:<BR>>
> I can run axis 1.2.1 WSDL2Java on the wsdl without problem,
i.e. generate<BR>> > stubs, but get an runtime error, if I execute a
method on my stubs. The<BR>> > response returned is exactly how it
should be, but there seems to be a <BR>> > problem in the object
mapping.<BR>> ><BR>> > I get a similar error for
stubs generated with axis 1.3 WSDL2Java.<BR>> ><BR>>
> I cannot run axis 2 WSDL2Java on the the file via ant or
provided script as <BR>> > I am getting a "Unsupported content Simple
Content Extension !"<BR>> ><BR>> > All at all, I
assume that the WSDL-File is not "optimized" for Axis. I<BR>> >
appreciate all of your comments, as I do not know exactly where to start to
<BR>> > look first. It is fairly new for me. I will get into all this
but it is far<BR>> > to much to assess the situation now.<BR>>
><BR>> > Thanks in advance & Regards<BR>>
> Chris<BR>> ><BR>> > Below:<BR>>
> WSDL2-Java error Axis2 0.95<BR>>
> Runtime-error Axis 1.2.1<BR>> > Soap
Request<BR>> > Soap Response<BR>>
> WSDL-file provided<BR>> ><BR>> >
########################################################### <BR>>
> Error while running Axis 2 0.95-WSDL2Java<BR>>
><BR>> > Exception in thread "main"<BR>> >
org.apache.axis2.wsdl.codegen.CodeGenerationException:<BR>>
> java.lang.RuntimeException :<BR>> >
org.apache.axis2.schema.SchemaCompilationException :<BR>>
> Unsupported content Simple Content Extension !<BR>>
> at<BR>>
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate
(CodeGener<BR>> > ationEngine.java:146)<BR>>
> at<BR>>
> org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)<BR>>
> at<BR>>
> org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java :21)<BR>>
> Caused by: java.lang.RuntimeException:<BR>> >
org.apache.axis2.schema.SchemaCompilation<BR>> > Exception:
Unsupported content Simple Content Extension !<BR>>
> at<BR>>
>
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp<BR>>
> leDBExtension.java:162)<BR>>
> at<BR>>
>
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener<BR>>
> ationEngine.java:101)<BR>>
> ... 2
more<BR>> > Caused by:<BR>> >
org.apache.axis2.schema.SchemaCompilationException:<BR>> > Unsupported
content Simple Content Extension !<BR>>
> at <BR>>
>
org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:803)<BR>> \
> at<BR>>
>
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:672)<BR>> \
> at<BR>>
>
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:654)<BR>> \
> at<BR>>
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType
(SchemaCompiler.java:604)<BR>>
> at<BR>>
>
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569)<BR>> \
> at<BR>>
> org.apache.axis2.schema.SchemaCompiler.processElement
(SchemaCompiler.java:360)<BR>>
> at<BR>>
>
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338)<BR>> \
> at<BR>>
> org.apache.axis2.schema.SchemaCompiler.compile
(SchemaCompiler.java:220)<BR>>
> at<BR>>
>
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179)<BR>>
> at<BR>>
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage
(SimpleDBExtension.java:115)<BR>>
> ... 3
more<BR>>
> ####################################################<BR>>
> Error with "Axis 1.2.1"-generated stubs during runtime when
calling: <BR>>
> StaticAttributeProfileService
service = new<BR>> > StaticAttributeProfileServiceLocator();<BR>>
> StaticAttributeProfile myStub
=<BR>> > service.getStaticAttributeProfileSOAPPort(); <BR>>
> Stub axisStub2 = (Stub)
myStub;<BR>> > [...]<BR>>
> myStub.getDocumentTypes(epc);<BR>>
><BR>> ><BR>> > 2006-04-27 10:22:47,410 DEBUG
[main]<BR>> > org.apache.axis.encoding.DeserializationContext :
Popped<BR>> > element stack to<BR>> >
org.apache.axis.message.RPCElement:schemaList<BR>>
> 2006-04-27 10:22:47,410 DEBUG [main]<BR>> >
org.apache.axis.encoding.DeserializationContext: Exit:<BR>> >
DeserializationContext::endElement() <BR>> > 2006-04-27
10:22:47,410 DEBUG [main]<BR>> >
org.apache.axis.i18n.ProjectResourceBundle:<BR>> >
org.apache.axis.i18n.resource::handleGetObject(exception00)<BR>>
> 2006-04-27 10:22:47,410 ERROR [main]
org.apache.axis.client.Call:<BR>> > Exception:<BR>>
> org.apache.axis.types.URI$MalformedURIException: No
scheme<BR>> > found in URI.<BR>> > at<BR>> >
org.apache.axis.encoding.ser.SimpleDeserializer.onEndElement
(SimpleDeserializer.java:180)<BR>> > at<BR>> >
org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl.java:502)<BR>> \
> at<BR>> >
org.apache.axis.encoding.DeserializationContext.endElement
(DeserializationContext.java:1087)<BR>> > at<BR>> >
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:171)<BR>> \
> at<BR>> >
org.apache.axis.message.MessageElement.publishToHandler
(MessageElement.java:1141)<BR>> > at<BR>> >
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)<BR>>
> at<BR>> >
org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)<BR>>
> at
org.apache.axis.client.Call.invoke(Call.java:2448)<BR>>
> at
org.apache.axis.client.Call.invoke(Call.java:2347)<BR>>
> at
org.apache.axis.client.Call.invoke(Call.java:1804)<BR>>
> at<BR>> >
_1.wsdl.xml.StaticAttributeProfile.EPCIS.interchange.specification.epc.StaticAttri \
buteProfileSoapBindingStub.getDocumentTypes(StaticAttributeProfileSoapBindingStub.java:535)<BR>> \
> ...<BR>>
> ####################################################
<BR>> > Request, as expected<BR>>
> <soapenv:Envelope<BR>>
> xmlns:soapenv="<A
href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>"<BR>> \
> xmlns:xsd=" <A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"<BR>> \
> xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"> \
<BR>> > <soapenv:Header><BR>>
> <AuthInfo<BR>> > soapenv:actor="<A
href="http://schemas.xmlsoap.org/soap/actor/next">http://schemas.xmlsoap.org/soap/actor/next</A>"<BR>> \
> soapenv:mustUnderstand="0"> <BR>>
> <ns1:UserToken<BR>> >
xmlns:ns1="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1"><BR>> \
> <ns1:UserName>XXX</ns1:UserName><BR>>
> <ns1:Password>XXX</ns1:Password> <BR>>
> </ns1:UserToken><BR>>
> </AuthInfo><BR>>
> </soapenv:Header><BR>>
> <soapenv:Body><BR>>
> <getDocumentTypes<BR>> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1"> \
<BR>>
> <epc>urn:epc:id:sgtin:0434687.075859.12</epc><BR>> \
> </getDocumentTypes><BR>>
> </soapenv:Body><BR>>
> </soapenv:Envelope><BR>>
> ####################################################
<BR>> > Request, as expected<BR>>
> <soapenv:Envelope<BR>>
> xmlns:soapenv="<A
href="http://schemas.xmlsoap.org/soap/envelope/">http://schemas.xmlsoap.org/soap/envelope/</A>"<BR>> \
> xmlns:xsd=" <A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"<BR>> \
> xmlns:xsi="<A
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</A>"> \
<BR>> > <soapenv:Body><BR>>
> <schemaList<BR>> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1"><BR>> \
> <schema<BR>> >
xmlns="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:schema:1"> \
<BR>> > product_information<BR>>
> </schema><BR>>
> </schemaList><BR>>
> </soapenv:Body><BR>>
> </soapenv:Envelope><BR>>
> ####################################################
<BR>> > WSDL<BR>> > <?xml version="1.0"
encoding="UTF-8"?><BR>> > <wsdl:definitions
name="StaticDataProfile"<BR>> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1" \
<BR>> > xmlns="<A
href="http://schemas.xmlsoap.org/wsdl/">http://schemas.xmlsoap.org/wsdl/</A>"<BR>> \
>
xmlns:auth="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1"<BR>> \
>
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1"
<BR>> > xmlns:soap="<A
href="http://schemas.xmlsoap.org/wsdl/soap/">http://schemas.xmlsoap.org/wsdl/soap/</A>"<BR>> \
> xmlns:soapenc="<A
href="http://schemas.xmlsoap.org/soap/encoding/">http://schemas.xmlsoap.org/soap/encoding/ \
</A>"<BR>> >
xmlns:static="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1"<BR>> \
> xmlns:wsdl="<A
href="http://schemas.xmlsoap.org/wsdl/">http://schemas.xmlsoap.org/wsdl/
</A>"<BR>> > xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"><BR>> \
> <wsdl:types><!-- Begin Auth info
schema--><BR>> > <xsd:schema
attributeFormDefault="unqualified" <BR>>
> elementFormDefault="qualified"<BR>> >
targetNamespace="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1"<BR>> \
>
xmlns:auth="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1"
<BR>> > xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"><BR>> \
> <xsd:complexType name="UserTokenType"><BR>>
> <xsd:sequence> <BR>>
> <xsd:element name="UserName" type="xsd:string"
/><BR>> > <xsd:element name="Password"
type="xsd:string" /><BR>>
> </xsd:sequence><BR>>
> </xsd:complexType> <BR>>
> <xsd:complexType name="AuthInfoType"><BR>>
> <xsd:sequence><BR>> > <xsd:element
name="UserToken"<BR>> > type="auth:UserTokenType"
/><BR>> > </xsd:sequence> <BR>>
> </xsd:complexType><BR>>
> <xsd:element name="AuthInfo" type="auth:AuthInfoType"
/><BR>> > </xsd:schema><!-- End of Auth info
schema--><!-- Start of Identifier info <BR>> >
schema--><BR>> > <xsd:schema
attributeFormDefault="unqualified"<BR>>
> elementFormDefault="qualified"<BR>> >
targetNamespace="urn:epc:specification:universal:Identifier:xml:schema:1"
<BR>> > version="1.0"<BR>> >
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1"<BR>> \
> xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema
</A>"><BR>> > <xsd:element name="ID"<BR>>
> type="pmlidentifier:IdentifierType" /><BR>>
> <xsd:complexType name="IdentifierType"><BR>>
> <xsd:simpleContent> <BR>>
> <xsd:extension base="xsd:token"><BR>>
> <xsd:attribute name="schemeID"<BR>>
> type="xsd:token" use="optional" /><BR>>
> <xsd:attribute name="schemeAgencyID" <BR>>
> type="xsd:token" use="optional" /><BR>>
> <xsd:attribute name="schemeVersionID"<BR>>
> type="xsd:token" use="optional" /><BR>>
> <xsd:attribute name="schemeURI" <BR>>
> type="xsd:anyURI" use="optional" /><BR>>
> </xsd:extension><BR>>
> </xsd:simpleContent><BR>>
> </xsd:complexType><BR>>
> </xsd:schema><!-- End of Identifier info
schema--><!-- Start of element <BR>> > declarations for
StaticProfile Schema--><BR>> > <xsd:schema
attributeFormDefault="unqualified"<BR>>
> elementFormDefault="qualified"<BR>> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:schema:1" \
<BR>> > version="1.0"<BR>> >
xmlns:sap="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:schema:1"<BR>> \
> xmlns:xsd="<A href="http://www.w3.org/2001/XMLSchema">
http://www.w3.org/2001/XMLSchema</A>"><BR>>
> <xsd:complexType mixed="true" name="xmlType"><BR>>
> <xsd:sequence><BR>> > <xsd:any
maxOccurs="unbounded" minOccurs="0" <BR>>
> namespace="##any" /><BR>>
> </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> <xsd:complexType name="schemaList"><BR>>
> <xsd:sequence> <BR>>
> <xsd:element maxOccurs="unbounded" minOccurs="0"<BR>>
> name="schema" type="sap:schemaType" /><BR>>
> </xsd:sequence><BR>>
> </xsd:complexType> <BR>>
> <xsd:simpleType name="schemaType"><BR>>
> <xsd:restriction base="xsd:anyURI" /><BR>>
> </xsd:simpleType><BR>>
> <xsd:complexType name="epcList"> <BR>>
> <xsd:sequence><BR>> > <xsd:element
maxOccurs="unbounded" minOccurs="0"<BR>> > name="epc"
type="sap:epcType" /><BR>> > </xsd:sequence>
<BR>> > </xsd:complexType><BR>>
> <xsd:simpleType name="epcType"><BR>>
> <xsd:restriction base="xsd:anyURI" /><BR>>
> </xsd:simpleType><BR>>
> <xsd:simpleType name="successType"> <BR>>
> <xsd:restriction base="xsd:boolean" /><BR>>
> </xsd:simpleType><BR>>
> <xsd:complexType name="xpathType"><BR>>
> <xsd:sequence><BR>> > <xsd:element
name="expr" type="xsd:string" /> <BR>> > <xsd:element
minOccurs="0" name="nsdecl"<BR>>
> type="xsd:string"><BR>>
> <xsd:annotation><BR>>
> <xsd:documentation><BR>> > The
namespace declarations used by <BR>> > the xpath
expression. This is a list<BR>> > of space delimited NS
declarations<BR>> > usually of the for<BR>>
> xmlns:[somePrefix]=[someURI]<BR>>
> </xsd:documentation><BR>>
> </xsd:annotation><BR>>
> </xsd:element><BR>>
> </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> </xsd:schema><!-- End of elements for
Static Profile Schema--> <BR>> > <!-- Start of
element declerations for StaticProfile wsdl--><BR>>
> <xsd:schema attributeFormDefault="unqualified"<BR>>
> elementFormDefault="qualified"<BR>> >
targetNamespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1" \
<BR>> >
xmlns:pmlidentifier="urn:epc:specification:universal:Identifier:xml:schema:1"<BR>> \
>
xmlns:sap="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:schema:1"<BR>> \
>
xmlns:static="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1" \
<BR>> > xmlns:xsd="<A
href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</A>"><BR>> \
> <xsd:import<BR>> >
namespace="urn:epc:specification:interchange:EPCIS:Authentication:xml:schema:1"
<BR>> > /><BR>> > <xsd:import<BR>> >
namespace="urn:epc:specification:universal:Identifier:xml:schema:1"<BR>>
> /><BR>> > <xsd:import<BR>> >
namespace="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:schema:1" \
<BR>> > /><BR>> > <xsd:complexType
name="attributeDataIn"><BR>>
> <xsd:sequence><BR>> > <xsd:element
name="epc"<BR>> > type="pmlidentifier:IdentifierType" />
<BR>> > <xsd:element name="schema"<BR>>
> type="sap:schemaType" /><BR>>
> <xsd:element name="xpath" type="sap:xpathType"
/><BR>> > <xsd:element form="unqualified"
name="value" <BR>> > type="sap:xmlType" /><BR>>
> </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> <xsd:element name="addAttributeData"<BR>>
> type="static:attributeDataIn" /> <BR>>
> <xsd:element name="setAttributeData"<BR>>
> type="static:attributeDataIn" /><BR>>
> <xsd:complexType name="getAttributeData"><BR>>
> <xsd:sequence> <BR>>
> <xsd:element name="epc"<BR>>
> type="pmlidentifier:IdentifierType" /><BR>>
> <xsd:element name="schema"<BR>>
> type="sap:schemaType" /> <BR>>
> <xsd:element name="xpath" type="sap:xpathType"
/><BR>> > </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> <xsd:element name="getAttributeData" <BR>>
> type="static:getAttributeData" /><BR>>
> <xsd:element name="deleteAttributeData"<BR>>
> type="static:getAttributeData" /><BR>>
> <xsd:complexType name="EPCSWithAttribute"> <BR>>
> <xsd:sequence><BR>> > <xsd:element
name="schema"<BR>> > type="sap:schemaType" /><BR>>
> <xsd:element name="xpath" type="sap:xpathType" />
<BR>> > </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> <xsd:element name="getEPCSWithAttribute"<BR>>
> type="static:EPCSWithAttribute" /><BR>>
> <xsd:element name="deleteEPCSWithAttribute" <BR>>
> type="static:EPCSWithAttribute" /><BR>>
> <xsd:element name="getDocumentTypes"><BR>>
> <xsd:complexType><BR>>
> <xsd:sequence><BR>> > <xsd:element
name="epc" <BR>> > type="pmlidentifier:IdentifierType"
/><BR>> > </xsd:sequence><BR>>
> </xsd:complexType><BR>>
> </xsd:element><BR>> > <xsd:element
name="schemaList" type="sap:schemaList" /> <BR>>
> <xsd:element name="attribute" type="sap:xmlType"
/><BR>> > <xsd:element name="epcList"
type="sap:epcList" /><BR>> > <xsd:element
name="success" type="sap:successType" /> <BR>>
> </xsd:schema><!-- End element declarations for
StaticProfile wsdl--><BR>> > </wsdl:types><BR>>
> <!-- Start Wsdl Messages --><BR>>
> <wsdl:message name="authenticationMessage"> <BR>>
> <wsdl:part element="auth:AuthInfo" name="AuthInfo"
/><BR>> > </wsdl:message><BR>>
> <wsdl:message name="addAttributeDataIn"><BR>>
> <wsdl:part element="static:addAttributeData" <BR>>
> name="addAttributeData" /><BR>>
> </wsdl:message><BR>>
> <wsdl:message name="addAttributeDataOut"><BR>>
> <wsdl:part element="static:success" name="success" />
<BR>> > </wsdl:message><BR>>
> <wsdl:message name="getAttributeDataIn"><BR>>
> <wsdl:part element="static:getAttributeData"<BR>>
> name="getAttributeData" /> <BR>>
> </wsdl:message><BR>>
> <wsdl:message name="getAttributeDataOut"><BR>>
> <wsdl:part element="static:attribute" name="attribute"
/><BR>> > </wsdl:message> <BR>>
> <wsdl:message name="setAttributeDataIn"><BR>>
> <wsdl:part element="static:setAttributeData"<BR>>
> name="setAttributeData" /><BR>>
> </wsdl:message> <BR>>
> <wsdl:message name="setAttributeDataOut"><BR>>
> <part element="static:success" name="success"
/><BR>> > </wsdl:message><BR>>
> <wsdl:message name="deleteAttributeDataIn"> <BR>>
> <wsdl:part element="static:deleteAttributeData"<BR>>
> name="deleteAttributeData" /><BR>>
> </wsdl:message><BR>>
> <wsdl:message name="deleteAttributeDataOut"> <BR>>
> <wsdl:part element="static:success" name="success"
/><BR>> > </wsdl:message><BR>>
> <wsdl:message name="getEPCSWithAttributeIn"><BR>>
> <wsdl:part element="static:getEPCSWithAttribute" <BR>>
> name="getEPCSWithAttribute" /><BR>>
> </wsdl:message><BR>> > <message
name="getEPCSWithAttributeOut"><BR>> > <wsdl:part
element="static:epcList" name="epcList" /> <BR>>
> </message><BR>> > <wsdl:message
name="deleteEPCSWithAttributeIn"><BR>> > <wsdl:part
element="static:deleteEPCSWithAttribute"<BR>>
> name="deleteEPCSWithAttribute" /> <BR>>
> </wsdl:message><BR>>
> <wsdl:message
name="deleteEPCSWithAttributeOut"><BR>> > <wsdl:part
element="static:success" name="success" /><BR>>
> </wsdl:message> <BR>>
> <wsdl:message name="getDocumentTypesIn"><BR>>
> <wsdl:part element="static:getDocumentTypes"<BR>>
> name="getDocumentTypes" /><BR>>
> </wsdl:message> <BR>>
> <wsdl:message name="getDocumentTypesOut"><BR>>
> <wsdl:part element="static:schemaList" name="schemaList"
/><BR>> > </wsdl:message><BR>>
> <!-- End Wsdl Messages --> <BR>>
> <wsdl:portType name="StaticAttributeProfile"><BR>>
> <wsdl:operation name="addAttributeData"><BR>>
> <wsdl:input message="static:addAttributeDataIn" <BR>>
> name="addAttributeDataInput" /><BR>>
> <wsdl:output message="static:addAttributeDataOut"<BR>>
> name="addAttributeDataOutput" /><BR>>
> </wsdl:operation> <BR>>
> <wsdl:operation name="getAttributeData"><BR>>
> <wsdl:input message="static:getAttributeDataIn"<BR>>
> name="getAttributeDataInput" /><BR>>
> <wsdl:output message="static:getAttributeDataOut"
<BR>> > name="getAttributeDataOutput" /><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="setAttributeData"><BR>>
> <wsdl:input message="static:setAttributeDataIn" <BR>>
> name="setAttributeDataInput" /><BR>>
> <wsdl:output message="static:setAttributeDataOut"<BR>>
> name="setAttributeDataOutput" /><BR>>
> </wsdl:operation> <BR>>
> <wsdl:operation name="deleteAttributeData"><BR>>
> <wsdl:input
message="static:deleteAttributeDataIn"<BR>>
> name="deleteAttributeDataInput" /><BR>>
> <wsdl:output message="static:deleteAttributeDataOut"
<BR>> > name="deleteAttributeDataOutput" /><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="getEPCSWithAttribute"><BR>>
> <wsdl:input message="static:getEPCSWithAttributeIn"
<BR>> > name="getEPCSWithAttributeInput" /><BR>>
> <wsdl:output
message="static:getEPCSWithAttributeOut"<BR>>
> name="getEPCSWithAttributeOutput" /><BR>>
> </wsdl:operation> <BR>>
> <wsdl:operation
name="deleteEPCSWithAttribute"><BR>> > <wsdl:input
message="static:deleteEPCSWithAttributeIn"<BR>>
> name="deleteEPCSWithAttributeInput" /> <BR>>
> <wsdl:output
message="static:deleteEPCSWithAttributeOut"<BR>>
> name="deleteEPCSWithAttributeOutput" /><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="getDocumentTypes"> <BR>>
> <wsdl:input message="static:getDocumentTypesIn"<BR>>
> name="getDocumentTypesInput" /><BR>>
> <wsdl:output message="static:getDocumentTypesOut"<BR>>
> name="getDocumentTypesOutput" /> <BR>>
> </wsdl:operation><BR>>
> </wsdl:portType><BR>>
> <wsdl:binding
name="StaticAttributeProfileSoapBinding"<BR>>
> type="static:StaticAttributeProfile"> <BR>>
> <soap:binding style="document"<BR>>
> transport="<A
href="http://schemas.xmlsoap.org/soap/http">http://schemas.xmlsoap.org/soap/http</A>" \
/><BR>> > <wsdl:operation name="addAttributeData">
<BR>> > <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/addAttributeData"<BR>> \
> /><BR>> > <wsdl:input
name="addAttributeDataInput"> <BR>> > <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> <soap:body use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="addAttributeDataOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="getAttributeData"> <BR>>
> <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/getAttributeData"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="getAttributeDataInput"> <BR>>
> <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="getAttributeDataOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="setAttributeData"> <BR>>
> <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/setAttributeData"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="setAttributeDataInput"> <BR>>
> <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="setAttributeDataOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="deleteAttributeData"> <BR>>
> <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/deleteAttributeData"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="deleteAttributeDataInput"> <BR>>
> <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="deleteAttributeDataOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="getEPCSWithAttribute"> <BR>>
> <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/getEPCSWithAttribute"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="getEPCSWithAttributeInput"> <BR>>
> <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="getEPCSWithAttributeOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="deleteEPCSWithAttribute">
<BR>> > <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/deleteEPCSWithAttribute"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="deleteEPCSWithAttributeInput">
<BR>> > <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="deleteEPCSWithAttributeOutput"><BR>>
> <soap:body use="literal" /><BR>>
> </wsdl:output><BR>>
> </wsdl:operation><BR>>
> <wsdl:operation name="getDocumentTypes"> <BR>>
> <soap:operation<BR>> >
soapAction="urn:epc:specification:interchange:EPCIS:StaticAttributeProfile:xml:wsdl:1/getDocumentTypes"<BR>> \
> style="document" /><BR>>
> <wsdl:input name="getDocumentTypesInput"> <BR>>
> <soap:body use="literal" /><BR>>
> <soap:header
message="static:authenticationMessage"<BR>>
> part="AuthInfo" use="literal" /><BR>>
> </wsdl:input> <BR>> > <wsdl:output
name="getDocumentTypesOutput"><BR>> > <soap:body
use="literal" /><BR>> > </wsdl:output><BR>>
> </wsdl:operation><BR>>
> </wsdl:binding> <BR>>
> <wsdl:service
name="StaticAttributeProfileService"><BR>>
> <wsdl:port<BR>> >
binding="static:StaticAttributeProfileSoapBinding"<BR>>
> name="StaticAttributeProfileSOAPPort"> <BR>>
> <soap:address<BR>>
> location="http://[XXX]/static/StaticAttributeProfile"
/><BR>> > </wsdl:port><BR>>
> </wsdl:service><BR>>
> </wsdl:definitions> <BR>> ><BR>> ><BR>>
><BR>> ><BR>><BR>><BR>> --<BR>> Ajith
Ranabahu<BR>><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic