Xml output for non-built-in types generated by autotype

Hi,
I created a wsdl and used the autotype and wsdl2service ant tasks to generate
java files.
As part of my service, I want to log output in xml format of the data received.
I can write my own serialization, or use the code that was generated by autotype.
I would rather not write my own. I want to use the code generated by wsdl2service.
Trouble is I can not find a javadoc nor a sample code segment that shows how!
Call me dense, but I've spent several hours on BEA web pages looking for answers.
This is what I found, but I could not get to work for various reasons:
XML streaming: I have a codec (generated by autotype ant task), but it requires
a SerializationContext. Where do I get a Serialization Context? I think serialize
is a callout from WS and not for applicaiton code to call.
javax.xml.rpc.encoding.Serializer: An object of this type is made available by
AbstractCodec (base class of generated code, but how is this class used?
[Sorry if you've seen this posting a couple of days ago on interest.xml newsgroup.
I didn't intend to repost but due to lack of response there, I thought this newsgroup
was more appropriate and read more.]
Thanks,
John

manoj,
Thanks for the help.
Sample 4 tells me that there is no code generated that I can use to write out
my non-built-in datatype to xml. For each of my non-built-in datatypes, I will
have to hand write such code, or use a handler.
John
"manojc" <[email protected]> wrote:
Here is an example of start form WSDL usecase:
http://www.manojc.com/?sample11
If you want to log the xml input/output to the web service
you can use a handler. You need to edit the web-services.xml
dd file to add handler.
Here is a example of using handler. But this use source2wsdd
instead of wsdl2service:
http://www.manojc.com/?sample4
Regards,
-manoj
"John Franey" <[email protected]> wrote in message
news:3ef30db2$[email protected]..
Hi,
I created a wsdl and used the autotype and wsdl2service ant tasks togenerate
java files.
As part of my service, I want to log output in xml format of the datareceived.
I can write my own serialization, or use the code that was generatedby
autotype.
I would rather not write my own. I want to use the code generated bywsdl2service.
Trouble is I can not find a javadoc nor a sample code segment thatshows
how!
Call me dense, but I've spent several hours on BEA web pages lookingfor
answers.
This is what I found, but I could not get to work for various reasons:
XML streaming: I have a codec (generated by autotype ant task), butit
requires
a SerializationContext. Where do I get a Serialization Context? I thinkserialize
is a callout from WS and not for applicaiton code to call.
javax.xml.rpc.encoding.Serializer: An object of this type is madeavailable by
AbstractCodec (base class of generated code, but how is this classused?
[Sorry if you've seen this posting a couple of days ago on interest.xml
newsgroup.>>  I didn't intend to repost but due to lack of response there, I thought>this newsgroup>> was more appropriate and read more.
Thanks,
John

Similar Messages

  • Problem with DII client for Doc/Literal with non built-in type in WL8.1 Sp2

    Hello,
    I have been trying to make this DII client for doc/literal using non built-in type to work for 2 days now.
    Any help/input will be greatly appreciated. I have added the code and wsdl below.
    BTW this is using the code first approach.
    Works perfectly fine with the clientgen generated stubs. But not with DII.
    With the stubs, following is the SOAP envelope.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header/>
    <env:Body>
    <n1:getType xmlns:n1="http://www.aeb.com/wlws">
         <n2:id xmlns:n2="java:com.aeb.types">XYS</n2:id>
         <n3:name xmlns:n3="java:com.aeb.types">Name</n3:name>
    </n1:getType>
    </env:Body>
    </env:Envelope>
    With DII (using the serializer/deserializer generated by clientgen),
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header/>
    <env:Body>
    <n1:TestType xmlns:n1="java:com.aeb.types">
         <n1:id>ABC</n1:id>
         <n1:name>Some Name</n1:name>
    </n1:TestType>
    </env:Body></env:Envelope>
    Exception
    javax.xml.rpc.soap.SOAPFaultException: Unable to find a matching Operation for this remote invocation
    <n1:TestType xmlns:n1="java:com.aeb.types">
    <n1:id>ABC</n1:id>
    <n1:name>Some Name</n1:name>
    </n1:TestType>.
         Please check your operation name.
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:558)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
         at com.amgen.webservice.clients.DocClient.callService(DocClient.java:83)
         at com.amgen.webservice.clients.DocClient.main(DocClient.java:35)
    Client
    System.setProperty("javax.xml.rpc.ServiceFactory","weblogic.webservice.core.rpc.ServiceFactoryImpl");
    System.setProperty("weblogic.webservice.verbose", "true");
    String targetNamespace = "http://www.aeb.com/wlws";
    ServiceFactory factory = ServiceFactory.newInstance();
    QName serviceName = new QName(targetNamespace, "DocWebservice");
    QName portName = new QName(targetNamespace, "DocWebservicePort");
    QName operationName = new QName(targetNamespace, "getType");
    Service service = factory.createService(serviceName);
    TypeMappingRegistry registry = service.getTypeMappingRegistry();
    TypeMapping mapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING);
    mapping.register(TestType.class, new QName("java:com.aeb.types","TestType"), new TestTypeCodec(), new TestTypeCodec());
    Call call = service.createCall();
    call.setOperationName(operationName);
    call.setPortTypeName(portName);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
    call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document");
    call.addParameter("testType", new QName("java:com.aeb.types","TestType"), TestType.class, ParameterMode.IN);
    call.setReturnType(new QName("java:com.aeb.types", "TestType"),TestType.class);
    call.setTargetEndpointAddress("http://localhost:7001/wlws/DocWebservice");
    TestType type = new TestType();
    type.setId("ABC");
    type.setName("Some Name");
    TestType res = (TestType) call.invoke(new Object[] { type });
    System.out.println(res.getName());
    TestType.java
    package com.aeb.types;
    import java.io.Serializable;
    public class TestType implements Serializable {
         private String id;
         private String name;
         public String getId() {
              return id;
         public void setId(String id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
    DocWebservice.java
    package com.aeb.webservices;
    import com.aeb.types.TestType;
    public class DocWebservice {
         public TestType getType(TestType type) {
              System.out.println("In Server....");
              System.out.println("Received : " + type.getName());
              return type;
    ServiceGen Ant Task
    <servicegen destear="${dist.dir}/wlws.ear" contexturi="wlws">
         <service javaClassComponents="com.aeb.webservices.DocWebservice"
              generateTypes="True"
              targetNamespace="http://www.aeb.com/wlws"
              serviceName="DocWebservice"
              serviceURI="/DocWebservice"
              style="document">
              <client packageName="com.aeb.ws.doc.client" />
         </service>
    </servicegen>
    WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://www.aeb.com/wlws" xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.aeb.com/wlws">
    <types xmlns:tns="http://www.aeb.com/wlws"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="http://www.aeb.com/wlws"
    xmlns:tp="java:com.aeb.types"
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="http://www.aeb.com/wlws">
    <xsd:import namespace="java:com.aeb.types">
    </xsd:import>
    <xsd:element xmlns:tp="java:com.aeb.types"
    type="tp:TestType"
    name="getType"
    nillable="true">
    </xsd:element>
    <xsd:element xmlns:tp="java:com.aeb.types"
    type="tp:TestType"
    name="getTypeResponse"
    nillable="true">
    </xsd:element>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.aeb.types"
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="java:com.aeb.types">
    <xsd:complexType name="TestType">
    <xsd:sequence>
    <xsd:element type="xsd:string"
    name="id"
    minOccurs="1"
    maxOccurs="1"
    nillable="true">
    </xsd:element>
    <xsd:element type="xsd:string"
    name="name"
    minOccurs="1"
    maxOccurs="1"
    nillable="true">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getType">
    <part xmlns:partns="http://www.aeb.com/wlws"
    name="testType"
    element="partns:getType">
    </part>
    </message>
    <message name="getTypeResponse">
    <part xmlns:partns="http://www.aeb.com/wlws"
    name="result"
    element="partns:getTypeResponse">
    </part>
    </message>
    <portType name="DocWebservicePort">
    <operation name="getType">
    <input message="tns:getType">
    </input>
    <output message="tns:getTypeResponse">
    </output>
    </operation>
    </portType>
    <binding type="tns:DocWebservicePort"
    name="DocWebservicePort">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http">
    </soap:binding>
    <operation name="getType">
    <soap:operation style="document"
    soapAction="">
    </soap:operation>
    <wsr:reliability persistDuration="60000">
    </wsr:reliability>
    <input>
    <soap:body namespace="http://www.aeb.com/wlws"
    use="literal">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="http://www.aeb.com/wlws"
    use="literal">
    </soap:body>
    </output>
    </operation>
    </binding>
    <service name="DocWebservice">
    <port name="DocWebservicePort"
    binding="tns:DocWebservicePort">
    <soap:address location="http://localhost:7001/wlws/DocWebservice">
    </soap:address>
    </port>
    </service>
    </definitions>
    Thanks
    Aspert

    Hello,
    I have been trying to make this DII client for doc/literal using non built-in type to work for 2 days now.
    Any help/input will be greatly appreciated. I have added the code and wsdl below.
    BTW this is using the code first approach.
    Works perfectly fine with the clientgen generated stubs. But not with DII.
    With the stubs, following is the SOAP envelope.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header/>
    <env:Body>
    <n1:getType xmlns:n1="http://www.aeb.com/wlws">
         <n2:id xmlns:n2="java:com.aeb.types">XYS</n2:id>
         <n3:name xmlns:n3="java:com.aeb.types">Name</n3:name>
    </n1:getType>
    </env:Body>
    </env:Envelope>
    With DII (using the serializer/deserializer generated by clientgen),
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <env:Header/>
    <env:Body>
    <n1:TestType xmlns:n1="java:com.aeb.types">
         <n1:id>ABC</n1:id>
         <n1:name>Some Name</n1:name>
    </n1:TestType>
    </env:Body></env:Envelope>
    Exception
    javax.xml.rpc.soap.SOAPFaultException: Unable to find a matching Operation for this remote invocation
    <n1:TestType xmlns:n1="java:com.aeb.types">
    <n1:id>ABC</n1:id>
    <n1:name>Some Name</n1:name>
    </n1:TestType>.
         Please check your operation name.
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:313)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:558)
         at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:411)
         at com.amgen.webservice.clients.DocClient.callService(DocClient.java:83)
         at com.amgen.webservice.clients.DocClient.main(DocClient.java:35)
    Client
    System.setProperty("javax.xml.rpc.ServiceFactory","weblogic.webservice.core.rpc.ServiceFactoryImpl");
    System.setProperty("weblogic.webservice.verbose", "true");
    String targetNamespace = "http://www.aeb.com/wlws";
    ServiceFactory factory = ServiceFactory.newInstance();
    QName serviceName = new QName(targetNamespace, "DocWebservice");
    QName portName = new QName(targetNamespace, "DocWebservicePort");
    QName operationName = new QName(targetNamespace, "getType");
    Service service = factory.createService(serviceName);
    TypeMappingRegistry registry = service.getTypeMappingRegistry();
    TypeMapping mapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING);
    mapping.register(TestType.class, new QName("java:com.aeb.types","TestType"), new TestTypeCodec(), new TestTypeCodec());
    Call call = service.createCall();
    call.setOperationName(operationName);
    call.setPortTypeName(portName);
    call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
    call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
    call.setProperty(Call.OPERATION_STYLE_PROPERTY, "document");
    call.addParameter("testType", new QName("java:com.aeb.types","TestType"), TestType.class, ParameterMode.IN);
    call.setReturnType(new QName("java:com.aeb.types", "TestType"),TestType.class);
    call.setTargetEndpointAddress("http://localhost:7001/wlws/DocWebservice");
    TestType type = new TestType();
    type.setId("ABC");
    type.setName("Some Name");
    TestType res = (TestType) call.invoke(new Object[] { type });
    System.out.println(res.getName());
    TestType.java
    package com.aeb.types;
    import java.io.Serializable;
    public class TestType implements Serializable {
         private String id;
         private String name;
         public String getId() {
              return id;
         public void setId(String id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
    DocWebservice.java
    package com.aeb.webservices;
    import com.aeb.types.TestType;
    public class DocWebservice {
         public TestType getType(TestType type) {
              System.out.println("In Server....");
              System.out.println("Received : " + type.getName());
              return type;
    ServiceGen Ant Task
    <servicegen destear="${dist.dir}/wlws.ear" contexturi="wlws">
         <service javaClassComponents="com.aeb.webservices.DocWebservice"
              generateTypes="True"
              targetNamespace="http://www.aeb.com/wlws"
              serviceName="DocWebservice"
              serviceURI="/DocWebservice"
              style="document">
              <client packageName="com.aeb.ws.doc.client" />
         </service>
    </servicegen>
    WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns:tns="http://www.aeb.com/wlws" xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.aeb.com/wlws">
    <types xmlns:tns="http://www.aeb.com/wlws"
    xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding"
    xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="http://www.aeb.com/wlws"
    xmlns:tp="java:com.aeb.types"
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="http://www.aeb.com/wlws">
    <xsd:import namespace="java:com.aeb.types">
    </xsd:import>
    <xsd:element xmlns:tp="java:com.aeb.types"
    type="tp:TestType"
    name="getType"
    nillable="true">
    </xsd:element>
    <xsd:element xmlns:tp="java:com.aeb.types"
    type="tp:TestType"
    name="getTypeResponse"
    nillable="true">
    </xsd:element>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:com.aeb.types"
    elementFormDefault="qualified"
    attributeFormDefault="qualified"
    targetNamespace="java:com.aeb.types">
    <xsd:complexType name="TestType">
    <xsd:sequence>
    <xsd:element type="xsd:string"
    name="id"
    minOccurs="1"
    maxOccurs="1"
    nillable="true">
    </xsd:element>
    <xsd:element type="xsd:string"
    name="name"
    minOccurs="1"
    maxOccurs="1"
    nillable="true">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="getType">
    <part xmlns:partns="http://www.aeb.com/wlws"
    name="testType"
    element="partns:getType">
    </part>
    </message>
    <message name="getTypeResponse">
    <part xmlns:partns="http://www.aeb.com/wlws"
    name="result"
    element="partns:getTypeResponse">
    </part>
    </message>
    <portType name="DocWebservicePort">
    <operation name="getType">
    <input message="tns:getType">
    </input>
    <output message="tns:getTypeResponse">
    </output>
    </operation>
    </portType>
    <binding type="tns:DocWebservicePort"
    name="DocWebservicePort">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http">
    </soap:binding>
    <operation name="getType">
    <soap:operation style="document"
    soapAction="">
    </soap:operation>
    <wsr:reliability persistDuration="60000">
    </wsr:reliability>
    <input>
    <soap:body namespace="http://www.aeb.com/wlws"
    use="literal">
    </soap:body>
    </input>
    <output>
    <soap:body namespace="http://www.aeb.com/wlws"
    use="literal">
    </soap:body>
    </output>
    </operation>
    </binding>
    <service name="DocWebservice">
    <port name="DocWebservicePort"
    binding="tns:DocWebservicePort">
    <soap:address location="http://localhost:7001/wlws/DocWebservice">
    </soap:address>
    </port>
    </service>
    </definitions>
    Thanks
    Aspert

  • Non-built-in type contained in a java.util.List creates a SoapFaultException

    I have created a web service that utilizes non-built-in types which uses other
    non-built-in types...(simplified example follows)
    public class MyService {
    public
    Foo getFoo( String id ) {
    Foo foo = ...; // get persisted foo
    return foo;
    package mypackage;
    public class Foo {
    java.util.List barList;
    public java.util.List getBars() { return barList; }
    public void setBars( java.util.List barList ) { this.barList = barList; }
    public class Bar {
    // some attributes
    I autotyped Bar explicitly and had servicegen/service autotype non-built-in data
    types for MyService (aka..Foo)
    When I execute the test web page...I get the following soap fault exception (Note:
    only if the barList contains some Bar objects)
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Exception during processing: Error at line:1 col:9159 '1' expected
    [?! -- [CDATA[ ] (see Fault Detail for stacktrace)</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">Error
    at line:1 col:9159 '1' expected [?! -- [CDATA[ ]
         at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:280)
         at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:176)
         at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
         at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:487)
         at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
         at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:444)
         at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:317)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:116)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
         at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:73)
         at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:46)
         at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImpl.java:147)
         at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:174)
         at weblogic.webservice.core.handler.CheckSoapFaultHandler.handleResponse(CheckSoapFaultHandler.java:21)
         at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:231)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:243)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:423)
         at weblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase.java:349)
         at weblogic.webservice.server.servlet.WebServiceServlet.invokeMultiOutput(WebServiceServlet.java:354)
         at weblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.java:300)
         at weblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServiceServlet.java:344)
         at weblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:266)
         at weblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
         at weblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet.java:255)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:313)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6356)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    When barList is empty...the webservice executes without any problems.
    I noticed in the generated types.xml...there is a "List" entry and a "java.util.List"
    entry. The bars has "List" associated with it...
    <?xml version="1.0" encoding="UTF-8"?>
    <XMLSchemaAndTypeMapping>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:mypackage"
    attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="java:mypackage">
    <xsd:complexType name="Foo">
    <xsd:complexContent>
    <xsd:element xmlns:tp="java:language_builtins.util"
    name="bars"
    type="tp:List"
    nillable="true"
    minOccurs="1"
    maxOccurs="1">
    </xsd:element>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:language_builtins.util"
    attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="java:language_builtins.util">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/">
    </xsd:import>
    <xsd:complexType name="List">
    <xsd:complexContent>
    <xsd:restriction xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
    <xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    ref="soapenc:arrayType"
    wsdl:arrayType="xsd:anyType[]">
    </xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    <wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdd:type-mapping-entry xmlns:lcl0="java:mypackage"
    class-name="mypackage.Bar"
    type="lcl0:Bar"
    serializer="mypackage.BarCodec"
    deserializer="mypackage.BarCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="java:language_builtins.util"
    class-name="java.util.List"
    type="lcl0:List"
    serializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilListCodec"
    deserializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilListCodec"
    >
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="java:mypackage"
    class-name="mypackage.Foo"
    type="lcl0:Foo"
    serializer="mypackage.FooCodec"
    deserializer="mypackage.FooCodec">
    </wsdd:type-mapping-entry>
    </wsdd:type-mapping>
    </XMLSchemaAndTypeMapping>
    Any ideas what is causing the problem?
    Using WLS 8.1 sp2 on WinXP, JDK 1.4
    Thanks in advance.
    - Doug

    Certain generic types like java.lang.Object, List etc
    may not work properly with the test page, because it
    is not possible to figure out how the XML data should
    look like.
    Can you please try it out using a clientgen generated
    stub?
    Regards,
    -manoj
    http://manojc.com
    "Doug Leeper" <[email protected]> wrote in message
    news:40e32790$1@mktnews1...
    >
    I have created a web service that utilizes non-built-in types which usesother
    non-built-in types...(simplified example follows)
    public class MyService {
    public
    Foo getFoo( String id ) {
    Foo foo = ...; // get persisted foo
    return foo;
    package mypackage;
    public class Foo {
    java.util.List barList;
    public java.util.List getBars() { return barList; }
    public void setBars( java.util.List barList ) { this.barList =barList; }
    public class Bar {
    // some attributes
    I autotyped Bar explicitly and had servicegen/service autotypenon-built-in data
    types for MyService (aka..Foo)
    When I execute the test web page...I get the following soap faultexception (Note:
    only if the barList contains some Bar objects)
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Exception during processing: Error at line:1 col:9159 '1'expected
    [?! -- [CDATA[ ] (see Fault Detail for stacktrace)</faultstring>
    <detail>
    <bea_fault:stacktracexmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">Er
    ror
    at line:1 col:9159 '1' expected [?! -- [CDATA[ ]
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:280)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:176)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
    at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:487)
    at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
    atweblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:444)
    at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:317)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:116)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
    at weblogic.xml.xmlnode.NodeBuilder.populateChildren(NodeBuilder.java:128)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:73)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:46)
    atweblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImpl.java:
    147)
    atweblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:174
    atweblogic.webservice.core.handler.CheckSoapFaultHandler.handleResponse(CheckS
    oapFaultHandler.java:21)
    atweblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.ja
    va:231)
    atweblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:243)
    atweblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:423)
    atweblogic.webservice.server.servlet.ServletBase.invokeMultiOutput(ServletBase
    .java:349)
    atweblogic.webservice.server.servlet.WebServiceServlet.invokeMultiOutput(WebSe
    rviceServlet.java:354)
    atweblogic.webservice.server.servlet.ServletBase.invokeOperation(ServletBase.j
    ava:300)
    atweblogic.webservice.server.servlet.WebServiceServlet.invokeOperation(WebServ
    iceServlet.java:344)
    atweblogic.webservice.server.servlet.ServletBase.handleGet(ServletBase.java:26
    6)
    atweblogic.webservice.server.servlet.ServletBase.doGet(ServletBase.java:158)
    atweblogic.webservice.server.servlet.WebServiceServlet.doGet(WebServiceServlet
    .java:255)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:971)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    atcom.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:
    313)
    atweblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6356)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3635)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    When barList is empty...the webservice executes without any problems.
    I noticed in the generated types.xml...there is a "List" entry and a"java.util.List"
    entry. The bars has "List" associated with it...
    <?xml version="1.0" encoding="UTF-8"?>
    <XMLSchemaAndTypeMapping>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:mypackage"
    attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="java:mypackage">
    <xsd:complexType name="Foo">
    <xsd:complexContent>
    <xsd:element xmlns:tp="java:language_builtins.util"
    name="bars"
    type="tp:List"
    nillable="true"
    minOccurs="1"
    maxOccurs="1">
    </xsd:element>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:stns="java:language_builtins.util"
    attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="java:language_builtins.util">
    <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/">
    </xsd:import>
    <xsd:complexType name="List">
    <xsd:complexContent>
    <xsd:restrictionxmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    base="soapenc:Array">
    <xsd:attribute xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    ref="soapenc:arrayType"
    wsdl:arrayType="xsd:anyType[]">
    </xsd:attribute>
    </xsd:restriction>
    </xsd:complexContent>
    </xsd:complexType>
    </xsd:schema>
    <wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <wsdd:type-mapping-entry xmlns:lcl0="java:mypackage"
    class-name="mypackage.Bar"
    type="lcl0:Bar"
    serializer="mypackage.BarCodec"
    deserializer="mypackage.BarCodec">
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="java:language_builtins.util"
    class-name="java.util.List"
    type="lcl0:List"
    serializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilListCodec"
    >
    deserializer="weblogic.xml.schema.binding.internal.builtin.JavaUtilListCodec
    >>
    </wsdd:type-mapping-entry>
    <wsdd:type-mapping-entry xmlns:lcl0="java:mypackage"
    class-name="mypackage.Foo"
    type="lcl0:Foo"
    serializer="mypackage.FooCodec"
    deserializer="mypackage.FooCodec">
    </wsdd:type-mapping-entry>
    </wsdd:type-mapping>
    </XMLSchemaAndTypeMapping>
    Any ideas what is causing the problem?
    Using WLS 8.1 sp2 on WinXP, JDK 1.4
    Thanks in advance.
    - Doug

  • Sales order MTO for non-valuated Material type

    Hi Friends,
    I need to create MTO sales order for non-valued material type, and at the time of save, I am getting an error that, Material "JOBFINISH" cannot be costed
    Message no. CK113.
    Diagnosis
    In accordance with material type UNBW for material JOBFINISH, the material is not relevant for costing.
    System Response
    Material JOBFINISH is not costed.
    Procedure
    1. Check the master data for material JOBFINISH.
    Display material master record
    2. If you have authorization for Customizing, check whether the material type is correctly set for this material. A material can only be costed if the Costing indicator in the material type is set.
    Can you please suggest to handel this kind of error.
    Rgds, Krishan Raheja.

    First in MM03 ,check the Material Type & Costing View whether any cost is there.If it is not there ,then ask FI consultant to provide the Costing.
    Then Go to OMS2 > Select Details against your Material Type > Can activate the Costing View ( if it is not there in MM03).
    Best Regards,
    Ankur

  • Does iCloud maintain file versions for non-Apple file types?

    Does iCloud maintain file versions for non-Apple file types? 

    Does iCloud maintain file versions for non-Apple file types? 

  • Generating XML Output for Eclipse

    Does anyone know if you can customize RoboHelp HTML such
    that, if you generate XML output, you get your TOC in the XML
    needed for Eclipse-based online help platforms? Thanks...

    Good question. The app XML file I was referring to was the one in the source folder. It seems that Flash Builder (or something else, hard to say) is having trouble parsing the brackets and so it's preventing the test app from launching.
    I just told my project to "Execute FlexUnit Tests" again to repro the problem to verify.
    /src/FlexUnitApplication-app.xml
    Contains <content>[...]</content>
    Shows a modification date of 9:04 am (now)
    /bin-debug/FlexUnitApplication-app.xml
    Contains <content>FlexUnitApplication.swf</content>
    Shows a modification date of yesterday (when I last successfully ran the tests)
    I'm unclear why Flash Builder is modifying this file (in the source folder) at all. Should the app XMLs be read-only configurations?

  • How to Create XML output for EFT payments.....?

    I am new to creating eText templates. My Understanding is to get XML output then build a template based on the XML output. Right or wrong I am not totally sure. Either way, here is what I need to accomplish and I am not sure where to start.
    (We are in R12....)
    Select EFT payments and create EFT output to send to the bank. I am looking for some guidence. Is there a generic payment program I can relate to an eft payment bank to generate the xml output? Is there a template already built for EFT payments? Does anyone out there have a solution that they are willing to share? Any guidence would be greatly appreciated.

    Figured this out on our own

  • XML output for pdf concurrent program

    Hi,
    We have one custom concurrent program defined with output as pdf.
    We want to generate an xml output some times. We dont want to register another concurrent program.
    We want to use same concurrent program, but want to generate output some times pdf , some times xml.
    Please suggest whether any possible way of doing this even using CONCSUB also fine.
    Thank you,
    Venkat.

    Hi Ramana;
    We want to submit the concurrent program, but output type either as xml or pdf it will be known during runtime.AFAIK if you prepare template in XML publisher than you can take output as pdf, by the way you can take xml output too
    Please check user guide:
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLP5.6.1UserGuide.pdf
    Regard
    Helios

  • Exchange Rate Date is not Upating for non-catalog request types in iProc

    Hi,
    The Exchnge rate date is not updating for some non-catalog request types in iprocurement (11.5.10.2 version) and this happening only for some request types only.
    can any one help what could be the reason.
    Regards,\
    Kevin.

    Hi Venkat
    i suggest you to go thru the dev guide ..... but to answer your question i would say....
    **** It looks like "Define Information Template" form only accepts Independent Value Sets and not table based Value Sets (thatinvolve SQL statements).
    Well in OAF to display a dropdown list all you need is a query .. so one can write a query to extract the values from a independent value set .... but the same is not possible with table type value set instead you can use the same query used to define the table type value set .
    You can create a LOV (one with flash light) even with a independent value set ....
    To create a LOV you need a View Object(query which will fetch valid records) and a Public Region (to display)
    if you ahve these then you can achive the requirement thru personalization
    if the VO and Region are not present then you have to create them .......
    Once you are thru the dev guide please go thru the link below which shows adding a lov to an existing page thru personalization....
    http://oracle.anilpassi.com/create-lov-based-field-using-personalization-in-oa-framework.html
    Thanks
    Tom....

  • NAVS for Non-ded Cond Type...  Has anybody implemented NAVD Ded Cond Type?

    Dear Gurus,
    Condition type NAVS is available for Non-deductible Taxes in the PO which is taken into account during Print Preview. 
    Supposing there are Service Tax which is of a deductible nature. Should it appear in the Condition tab along with Non-deductible condition type?
    Has anybody implemented NAVD Cond Type defined as Deductible tax?
    Awaiting your feedback.
    Thanks
    M

    What I have further found out:
    - It is not a problem of reduced message types or release:
    I have tested it with the standard condition Idoc Type and also on a 6.20 and 7.00 basis release system.
    It seems that the report RBDMIDOC filters not valid conditions.

  • R12 Check Printing Need XML output for seeded data definition--urgent

    Hi--
    I really need to get ahold of the XML output from the checks running off the data definition called "Oracle Payments Funds Disbursement Payment Instruction Extract 1.0" in Oracle R12 quickly--particulary the XML tag that holds the MICR string (should be the concatenation of Check Number, Routing and Acct number).
    I found an entry here in the forums about running a query of:
    SELECT XMLType.getClobVal(instruction)
    FROM IBY_XML_FD_INS_1_0_V
    WHERE rownum =1 ;
    to get the entire XML output. I have an open SR but haven't really gotten anywhere with it yet.
    However, all we get back is an error about datatype. Could someone please help out with this--it is quite urgent as I need to finish this last piece of the checks and work with the bank on formatting this week.
    Thanks--I'd really appreciate any assistance!
    Kate

    SELECT XMLType.getClobVal(instruction)
    INTO x_extract_doc
    FROM iby_xml_fd_ins_1_0_v
    WHERE payment_instruction_id = p_payment_instruction_id;
    or you can use
    SELECT document FROM iby_trxn_documents order by creation_date desc;
    provided that the last run was urs.

  • WL-7 / clientgen task do not generate correct bean for non built-in data type

    The clientgen Ant task do not generate a correct JavaBean for this
    complexeType definition (returned by a web service method):
    extract from WSDL:
    <s:complexType name="MyBoggusType">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded"
    name="shouldBeAnArray" type="s0:OtherType " />
    </s:sequence>
    <s:attribute name="total" type="s:int" />
    </s:complexType>
    The generated JavaBean contains an int (for 'total') and a simple
    reference to an OtherType instance (for 'shouldBeAnArray').
    The 'shouldBeAnArray' attribute should be an array of OtherType?
    What's wrong?
    (The service is not implemented by me and I have few control on it)
    Is it a bug or a limitation?
    Should I write a Codec as a workaround?

    On Wed, 05 Feb 2003 17:28:40 +0100, Stephane Boisson wrote:
    Is it a bug or a limitation?
    Should I write a Codec as a workaround?This is a bug. It has been fixed in service pack 2. Refer to CR082308
    when contacting support if you need a patch against sp1. You could indeed
    write your own codec but it might be easier to just use the patch :)
    --Scott

  • Database Adapter does not generate proper output for PL/SQL table type

    Hi,
    I have a DB Adapter to invoke a stored procedure on Oracle which returns a table type.
    I am getting the following output from the adapter:
    </DB_Test_InputVariable><DB_Test_OutputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    <db:OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/BPEL_DB_TEST/XXC_KEMET_TEST_PKG-24GETITEMONH/">
    <ITEM_QTY_UOM_OUT>
    <ITEM_QTY_UOM_OUT_ITEM>
    <SERIAL_NUM>1</SERIAL_NUM>
    <ITEM_QTY_OUT>1</ITEM_QTY_OUT>
    <UOM_OUT>BOX</UOM_OUT>
    </ITEM_QTY_UOM_OUT_ITEM>
    <ITEM_QTY_UOM_OUT_ITEM>
    <SERIAL_NUM>2</SERIAL_NUM>
    <ITEM_QTY_OUT>5</ITEM_QTY_OUT>
    <UOM_OUT>BOX</UOM_OUT>
    </ITEM_QTY_UOM_OUT_ITEM>
    </ITEM_QTY_UOM_OUT>
    </db:OutputParameters>
    </part>
    </DB_Test_OutputVariable>
    When I try to transform it, it tries to select /db:OutputParameters/db:ITEM_QTY_UOM_OUT/db:ITEM_QTY_UOM_OUT_ITEM/db:SERIAL_NUM from it and does not give me any output.
    I assume it's the same issue with namespace prefix.
    If anyone has faced a similar issue or knows how to fix this, please let me know.

    I am using a DB adapter to run a stored procedure for a simple Select Query with a table as my out parameter.This creates an XSD when the partner link is created.The elementFormDefault=qualified is by default formed in the xsd.When i change it to unQualified it returns me compilation error.
    Where do i need to change the root element?
    My output of BPEL(P.S. - I have used synchronous BPEL) on the console is
    Your test request was processed synchronously. It took 359.0milliseconds to finish and generated the following output:
    Value: <ProcessResponsehttp://www.w3.org/2001/XMLSchema-instancehttp://www.example.org>
    <null>
    <null>
    <null>database_K_DKL_NW02</null>
    <null>2008-07-07T00:00:00.000+05:30</null>
    <null>2008</null>
    <null>3435</null>
    <null>http://www.google.com</null>
    </null>
    <null>
    <null>database_config.txt</null>
    <null>2006-03-14T00:00:00.000+05:30</null>
    <null>2006</null>
    <null>342345</null>
    <null>\\01hw180464\MOTO\database_config.txt</null>
    </null>
    <null>
    <null>database_help.txt</null>
    <null>2008-07-01T00:00:00.000+05:30</null>
    <null>2008</null>
    <null>68</null>
    <null>\\01hw180464\MOTO\database_help.txt</null>
    </null>
    <null>
    <null>database_search.txt</null>
    <null>2007-12-03T00:00:00.000+05:30</null>
    <null>2007</null>
    <null>365</null>
    <null>\\01hw180464\MOTO\database_search.txt</null>
    </null>
    </null>
    </ProcessResponse>
    whereas the output shown in Invoke in the visual flow is
    <messages>
    -<Invoke_1_Callin_Db_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    -<InputParameters xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/VODAT/BPEL_CALLIN_DB/MOTOROLA_BSC_DB-24VIEW_MOTOROLA/">
    <IN_FILENAME/>
    </InputParameters>
    </part>
    </Invoke_1_Callin_Db_InputVariable>
    -<Invoke_1_Callin_Db_OutputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="OutputParameters">
    -<db:OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/VODAT/BPEL_CALLIN_DB/MOTOROLA_BSC_DB-24VIEW_MOTOROLA/">
    -<MYCURSOR>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_K_DKL_NW02
    </SOFTWARE_PKGS>
    <CREATION_DATE>2008-07-07T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2008
    </CREATION_TIME>
    <FILE_SIZE>3435
    </FILE_SIZE>
    <FILE_PATH>http://www.google.com
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_config.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2006-03-14T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2006
    </CREATION_TIME>
    <FILE_SIZE>342345
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_config.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_help.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2008-07-01T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2008
    </CREATION_TIME>
    <FILE_SIZE>68
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_help.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_search.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2007-12-03T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2007
    </CREATION_TIME>
    <FILE_SIZE>365
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_search.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    </MYCURSOR>
    </db:OutputParameters>
    </part>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">[]
    </part>
    </Invoke_1_Callin_Db_OutputVariable>
    </messages>
    and the output shown in ReplyOutput is :-
    <outputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    -<ProcessResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.example.org">
    -<MYCURSOR xmlns="">
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_K_DKL_NW02
    </SOFTWARE_PKGS>
    <CREATION_DATE>2008-07-07T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2008
    </CREATION_TIME>
    <FILE_SIZE>3435
    </FILE_SIZE>
    <FILE_PATH>http://www.google.com
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_config.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2006-03-14T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2006
    </CREATION_TIME>
    <FILE_SIZE>342345
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_config.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_help.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2008-07-01T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2008
    </CREATION_TIME>
    <FILE_SIZE>68
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_help.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    -<MYCURSOR_ITEM>
    <SOFTWARE_PKGS>database_search.txt
    </SOFTWARE_PKGS>
    <CREATION_DATE>2007-12-03T00:00:00.000+05:30
    </CREATION_DATE>
    <CREATION_TIME>2007
    </CREATION_TIME>
    <FILE_SIZE>365
    </FILE_SIZE>
    <FILE_PATH>\\01hw180464\MOTO\database_search.txt
    </FILE_PATH>
    </MYCURSOR_ITEM>
    </MYCURSOR>
    </ProcessResponse>
    </part>
    </outputVariable>
    Can you please tell me why am i getiing null value in my output xml in my BPEL console??
    What is the solution?where do i need to change the db: prefix?

  • No XML output for a report Oracle 11.5.10.2 RDBMS 10.2.0.5.0

    I created a very simple rdf and ran it without problems.
    I then generated an .xml file and loaded this into into the template builder using xml publisher.
    I created the rtf and using xml Publisher administrator created a template and data definition for my report (TESTRDF)
    "The xml page cannot be displayed
    Cannot view xml input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    The following tags were not closed: TESTRDF5, LIST_G_VENDOR_NAME. Error processing resource 'http://cc002101.smart.star.net...
    Here is an example of the xml
    "- <LIST_G_VENDOR_NAME>
    - <G_VENDOR_NAME>
    <VENDOR_NAME>Vendor </VENDOR_NAME>
    <INVOICE_NUM>141</INVOICE_NUM>
    <AMOUNT_PAID>184</AMOUNT_PAID>
    <INVOICE_AMOUNT>184</INVOICE_AMOUNT>
    <VENDOR_NUMBER_>1</VENDOR_NUMBER_>
    <VENDOR_ID>1</VENDOR_ID>
    <INVOICE_ID>1</INVOICE_ID>
    <WFAPPROVAL_STATUS>NOT REQUIRED</WFAPPROVAL_STATUS>
    <INVOICE_DATE>20-DEC-07</INVOICE_DATE>
    <DOC_SEQUENCE_VALUE>109624</DOC_SEQUENCE_VALUE>
    <HR_DETAILS_>HR changed </HR_DETAILS_>
    <ORGANISATION_ID_>102</ORGANISATION_ID_>
    <APPROVAL_GROUP_ />
    </G_VENDOR_NAME>
    "

    I would recommend checking the content of the file on the server. The problem with displaying an XML file through the browser is that it won't always display it properly, for example if there is a character id doesn't recognise.
    Having opened up the original file, yuo should be able to see the issue more easily.

  • Web service non-built-in type serializer & deserializer

    I created a web service in WLS7.0 that returns a custom VO object.
              When I tried to run a client against it, I got the following error
              =================================================
              Unable to find a javaType for the xmlType:['java:xxx.yyy.zzz']:UserVO.
              Make sure that you have registered this xml type in the type
              mapping:TYPEMAPPING SIZE=0
              I found the <type-mapping> tag regarding this VO class in the
              web-services.xml. Also found was its xml schema definition in the
              WSDL.
              What else am I missing?
              Thanks for the help.
              TS
              

    I created a web service in WLS7.0 that returns a custom VO object.
              When I tried to run a client against it, I got the following error
              =================================================
              Unable to find a javaType for the xmlType:['java:xxx.yyy.zzz']:UserVO.
              Make sure that you have registered this xml type in the type
              mapping:TYPEMAPPING SIZE=0
              I found the <type-mapping> tag regarding this VO class in the
              web-services.xml. Also found was its xml schema definition in the
              WSDL.
              What else am I missing?
              Thanks for the help.
              TS
              

Maybe you are looking for