BPEL - not generating correct SOAP packet for complex types

Hi,
Below is a snippet from wsdl, correct SOAP request and reply packet (generated using a SOAP test tool) and finally BPEL generated SOAP request and error response (captured using TCP packet monitor)
The problem is with element 'XActivationPackageArray', which is getting enclosed
by itself again from Oracle BPEL PM.
------------------------W S D L S T A R T----------------------------------------------------
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" .......>
     <types>
          <schema>
               <complexType name="XActivationPackageArray">
                    <sequence>
                         <element name="XActivationPackage" type="tns2:XActivationPackage" maxOccurs="unbounded"/>
                    </sequence>
               </complexType>
               <element name="XActivationPackageArray" type="tns2:XActivationPackageArray"/>
               <complexType name="XActivationPackage">
                    <sequence>
                         <element name="activationPackage" nillable="true" type="xsd:string"/>
                    </sequence>
               </complexType>
               <complexType name="XActivationResponse">
                    <sequence>
                         <element name="unitId" nillable="true" type="xsd:string"/>
                         <element name="serviceId" nillable="true" type="xsd:string"/>
                    </sequence>
               </complexType>
               <element name="XActivationResponse" type="tns2:XActivationResponse"/>
          </schema>
     </types>
     <message name="activateServiceRequest">
          <part name="userId" type="xsd:string"/>
          <part name="companyCd" type="xsd:string"/>
          <part name="customerCd" type="xsd:string"/>
          <part name="stockAccountId" type="xsd:string"/>
          <part name="orderNumber" type="xsd:string"/>
          <part name="serviceType" type="xsd:string"/>
          <part name="location" type="xsd:string"/>
          <part name="unitId" type="xsd:string"/>
          <part name="serviceIdPool" type="xsd:string"/>
          <part name="serviceId" type="xsd:string"/>
          <part name="XActivationPackageArray" element="tns2:XActivationPackageArray"/>
     </message>
     <message name="activateServiceResponse">
          <part name="XActivationResponse" element="tns2:XActivationResponse"/>
     </message>
</definitions>
------------------------W S D L E N D----------------------------------------------------
------------------------Correct SOAP packet ----------------------------------------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sf2pwrapper.ws.sf2.p1.com">
<soapenv:Body>
<urn:activateService>
<userId>XYZ</userId>
<companyCd>999</companyCd>
<customerCd>ABCDE</customerCd>
<stockAccountId>FGHIJ</stockAccountId>
<orderNumber>888999</orderNumber>
<serviceType>AA</serviceType>
<location>A</location>
<unitId/>
<serviceIdPool>XXX</serviceIdPool>
<serviceId/>
<XActivationPackageArray>
               <XActivationPackage>
                    <activationPackage>MMGG</activationPackage>
               </XActivationPackage>
</XActivationPackageArray>
</urn:activateService>
</soapenv:Body>
</soapenv:Envelope>
------------------------Correct reply ----------------------------------------------------
<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>
<activateServiceResponse xmlns="urn:sf2pwrapper.ws.sf2.p1.com">
<ns1:XActivationResponse xmlns:ns1="urn:model.sf2pwrapper.ws.sf2.p1.com">
<unitId xmlns="">0642342</unitId>
<serviceId xmlns="">83753710</serviceId>
</ns1:XActivationResponse>
</activateServiceResponse>
</soapenv:Body>
</soapenv:Envelope>
------------------------BPEL generated SOAP packet--------------------------------------------------
<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>
<ns1:activateService soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:sf2pwrapper.ws.sf2.p1.com">
<userId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">XYZ</userId>
<companyCd xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">999</companyCd>
<customerCd xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">ABCDE</customerCd>
<stockAccountId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">FGHIJ</stockAccountId>
<orderNumber xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">888999</orderNumber>
<serviceType xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">AA</serviceType>
<location xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">A</location>
<unitId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string"></unitId>
<serviceIdPool xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string">XXX</serviceIdPool>
<serviceId xmlns:def="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:string"></serviceId>
<XActivationPackageArray>
<XActivationPackageArray xmlns="urn:model.sf2pwrapper.ws.sf2.p1.com">
<XActivationPackage xmlns="">
<activationPackage>MMGG</activationPackage>
</XActivationPackage>
</XActivationPackageArray>
</XActivationPackageArray>
</ns1:activateService>
</soapenv:Body>
</soapenv:Envelope>
------------------------BPEL error--------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<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>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: Invalid element in com.p1.sf2.ws.sf2pwrapper.model.XActivationPackage - XActivationPackage</faultstring>
<detail>
<ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">c7g7mrs</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

t

Similar Messages

  • Can not generate one xsd file  for message type in xi

    Dear Experts.
    I am not able to generate  one XSD file from  message type from XI 3.0, When i select message type and go to XSD tab  then click on export xsd to file, it is generating two xsd files MainSchema.xsd,  Schema1.xsd  into one zip file, but i need only one xsd file to import it into MDM.
    Could you please help
    Thanks and Regards.
    Sravya.
    The following are the two files. MainSchema.xsd,  Schema1.xsd .

    Hi Harsha,
    Thanks lot for the immediate response. Appreciate it.
    Now I am able to generate the one xsd with your inputs , but i am not able to load it into mdm with out any changes in the generated XSD from Message Type. the below is only the original root tag, where modification required.
    Original  Element : MDM_CUST_MASTER_FILE_REQUEST_MT
    ==============
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:abc.com:MDM_Customer_Master_ECC" targetNamespace="urn:abc.com:MDM_Customer_Master_ECC">
    <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />
    etc.
    Case :.When i modify the above element as below  with out xmlns, targetNamespace
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="MDM_CUST_MASTER_FILE_REQUEST_MT" type="MDM_CUST_MASTER_FILE_REQUEST_DT" />
    I can import xsd into mdm with the above modification.
    The generated XML out put File from mdm is having message type tag like below
    ?xml version="1.0" encoding="UTF-8"?>
    <MDM_CUST_MASTER_FILE_REQUEST_MT> 
    <CUSTOMER> </customer> ...
    note: no namespace for message type
    Result:
    1.When i send this xml file into XI it is failing in message mapping  because it doesn't have namespace attached to it and failing in message mapping.
    Finally i need your help to generate the xsd or data file like below to avoid mapping problem in xi.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MDM_CUST_MASTER_FILE_REQUEST_MT xmlns:ns0=urn:abc.com:MDM_Customer_Master_ECC>
    Appreciate your help.
    Thanks and Regards.
    Sravya.

  • MRP is not generating purchase requisitions consistently for MRP type VB

    Issue: When executing consumption based MRP in ECC 6.0 using the following parameters; purchase requisitions are not created for all material with stocks below max stock levels. In other words  requisitions are  created incase of some materials and requisitions are not created for others.  
    u2022     MRP type VB ( manual reorder point) with reorder point qty
    u2022     Lot size HB with Max stock level
    u2022     Procurement type F (external procurement).
    Additional info: Some of these materials are batch managed and results are inconsistence whether it is batch managed or not.
    Regards
    Sai

    I checked that and planning file entry is created.
    Example 1: MRP is not working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200045
    Reorder point =30
    Max stock level = 300
    Available qty = 139
    No PRs are existing before MRP.
    MRP is expected to create PR  for qty 161 (300-139= 161)
    Example 2 : MRP is working. 
    MRP type = VB
    Lot size =HB
    Procurement type= F
    Material # = 1200052
    Reorder point =100
    Max stock level = 1000
    Available qty = 87
    MRP created PR qty of 913 and results are as expected.
    MRP is expected to create PR  for qty 161 (1000-87= 913
    NOTE: I am directly creating Purchase requisitions by selecting creation Purchase Requisitions Indicator =1  during MD01/MD02 trxs . Not creating any planned orders.

  • Express document "Art. segments not generated correctly" received from aut

    Art. segments not generated correctly    
    dear all
       i created an article in MM41. while doing the listing in WSM3 this error is occurring same plant i was created artilces and listed also but today it is showing this error msg . Can u please suggest me how to solve this?. i showed to my tech team they told me to check in configuration settings?. is their any problem with config ?.
    Note:-  Article segments were not created in full
    The data is stored in the log 00000000000000049016 file
    1741001 No entry in key field in distribution chain segment for article 1741
    Possible causes:
    - Reference article was not maintained in full
    - Inconsistent maintenance of article
    Possible actions:
    - Maintain reference data
    - Call transaction WSPK to edit the faulty segments
    thank you
    RK

    i clearly mentioned what was the error occured for me agian ur asking quetion means i can't  tell m . i created an article in mm41 while doing the listing in wsm3 that time this error is occuring if u can solve i will be happy
    thank u
    rk

  • JSR 172 marshal exception for complex type

    Hi,
    Im trying to run a JSR 172 webservice but i always get marshall exception for complex types, below is my code:
    WSDL:
    <?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-417-SNAPSHOT. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-417-SNAPSHOT. -->
    <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://newsletter.kp/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://newsletter.kp/" name="NewsService">
        <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="NewsPortBinding_getNewslettersRemote_WSAT_Policy">
            <ns1:ExactlyOne>
                <ns1:All>
                    <ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
                    <ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
                </ns1:All>
            </ns1:ExactlyOne>
        </ns1:Policy>
        <types>
            <xsd:schema>
                <xsd:import namespace="http://newsletter.kp/" schemaLocation="http://localhost:8080/NewsService/News?xsd=1"></xsd:import>
            </xsd:schema>
        </types>
        <message name="getNewslettersRemote">
            <part name="parameters" element="tns:getNewslettersRemote"></part>
        </message>
        <message name="getNewslettersRemoteResponse">
            <part name="parameters" element="tns:getNewslettersRemoteResponse"></part>
        </message>
        <portType name="News">
            <operation name="getNewslettersRemote">
                <ns5:PolicyReference xmlns:ns5="http://www.w3.org/ns/ws-policy" URI="#NewsPortBinding_getNewslettersRemote_WSAT_Policy"></ns5:PolicyReference>
                <input message="tns:getNewslettersRemote"></input>
                <output message="tns:getNewslettersRemoteResponse"></output>
            </operation>
        </portType>
        <binding name="NewsPortBinding" type="tns:News">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
            <operation name="getNewslettersRemote">
                <ns6:PolicyReference xmlns:ns6="http://www.w3.org/ns/ws-policy" URI="#NewsPortBinding_getNewslettersRemote_WSAT_Policy"></ns6:PolicyReference>
                <soap:operation soapAction="getNews"></soap:operation>
                <input>
                    <soap:body use="literal"></soap:body>
                </input>
                <output>
                    <soap:body use="literal"></soap:body>
                </output>
            </operation>
        </binding>
        <service name="NewsService">
            <port name="NewsPort" binding="tns:NewsPortBinding">
                <soap:address location="http://localhost:8080/NewsService/News"></soap:address>
            </port>
        </service>
    </definitions>Stub:
    public class NewsService_Stub implements NewsService, javax.xml.rpc.Stub {
        private String[] _propertyNames;
        private Object[] _propertyValues;
        public NewsService_Stub() {
            _propertyNames = new String[] { ENDPOINT_ADDRESS_PROPERTY };
            _propertyValues = new Object[] { "http://localhost:8080/NewsService/News" };
        public void _setProperty( String name, Object value ) {
            int size = _propertyNames.length;
            for (int i = 0; i < size; ++i) {
                if( _propertyNames.equals( name )) {
    _propertyValues[i] = value;
    return;
    String[] newPropNames = new String[size + 1];
    System.arraycopy(_propertyNames, 0, newPropNames, 0, size);
    _propertyNames = newPropNames;
    Object[] newPropValues = new Object[size + 1];
    System.arraycopy(_propertyValues, 0, newPropValues, 0, size);
    _propertyValues = newPropValues;
    _propertyNames[size] = name;
    _propertyValues[size] = value;
    public Object _getProperty(String name) {
    for (int i = 0; i < _propertyNames.length; ++i) {
    if (_propertyNames[i].equals(name)) {
    return _propertyValues[i];
    if (ENDPOINT_ADDRESS_PROPERTY.equals(name) || USERNAME_PROPERTY.equals(name) || PASSWORD_PROPERTY.equals(name)) {
    return null;
    if (SESSION_MAINTAIN_PROPERTY.equals(name)) {
    return new Boolean(false);
    throw new JAXRPCException("Stub does not recognize property: " + name);
    protected void _prepOperation(Operation op) {
    for (int i = 0; i < _propertyNames.length; ++i) {
    op.setProperty(_propertyNames[i], _propertyValues[i].toString());
    public newsletter[] getNewslettersRemote() throws java.rmi.RemoteException {
    Object inputObject[] = new Object[] {
    Operation op = Operation.newInstance( qnameoperation_getNewslettersRemote, typegetNewslettersRemote, typegetNewslettersRemoteResponse );
    _prepOperation( op );
    op.setProperty( Operation.SOAPACTION_URI_PROPERTY, "getNews" );
    Object resultObj;
    try {
    resultObj = op.invoke( inputObject );
    } catch( JAXRPCException e ) {
    Throwable cause = e.getLinkedCause();
    if( cause instanceof java.rmi.RemoteException ) {
    throw (java.rmi.RemoteException) cause;
    throw e;
    return newsletter_ArrayfromObject((Object[])((Object[]) resultObj)[0]);
    private static newsletter[] newsletter_ArrayfromObject( Object obj[] ) {
    if(obj == null) return null;
    newsletter result[] = new newsletter[obj.length];
    for( int i = 0; i < obj.length; i++ ) {
    result[i] = new newsletter();
    Object[] oo = (Object[]) obj[i];
    result[i].setBody((String )oo[0]);
    result[i].setId((Long )oo[1]);
    result[i].setImageLocation((String )oo[2]);
    result[i].setTitle((String )oo[3]);
    return result;
    protected static final QName qnameoperation_getNewslettersRemote = new QName( "http://newsletter.kp/", "getNewslettersRemote" );
    protected static final QName qnamegetNewslettersRemote = new QName( "http://newsletter.kp/", "getNewslettersRemote" );
    protected static final QName qnamegetNewslettersRemoteResponse = new QName( "http://newsletter.kp/", "getNewslettersRemoteResponse" );
    protected static final Element typegetNewslettersRemote;
    protected static final Element typegetNewslettersRemoteResponse;
    static {
    typegetNewslettersRemote = new Element( qnamegetNewslettersRemote, _complexType( new Element[] {
    }), 1, 1, false );
    typegetNewslettersRemoteResponse = new Element( qnamegetNewslettersRemoteResponse, _complexType( new Element[] {
    new Element( new QName( "", "return" ), _complexType( new Element[] {
    new Element( new QName( "", "body" ), Type.STRING, 0, 1, false ),
    new Element( new QName( "", "id" ), Type.LONG, 0, 1, false ),
    new Element( new QName( "", "imageLocation" ), Type.STRING, 0, 1, false ),
    new Element( new QName( "", "title" ), Type.STRING, 0, 1, false )}), 0, Element.UNBOUNDED, true )}), 1, 1, false );
    private static ComplexType _complexType( Element[] elements ) {
    ComplexType result = new ComplexType();
    result.elements = elements;
    return result;
    }I tested the web service with the following xml
    input:<?xml version="1.0" encoding="UTF-8"?>
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Header/>
    <S:Body>
    <ns2:getNewslettersRemote xmlns:ns2="http://newsletter.kp/"/>
    </S:Body>
    </S:Envelope>
    output:bq. <?xml version="1.0" encoding="UTF-8"?> \\ <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> \\ <S:Body> \\ <ns2:getNewslettersRemoteResponse xmlns:ns2="http://newsletter.kp/"> \\ <return> \\ <body>teste</body> \\ <id>1</id> \\ <imageLocation>testes</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>2</id> \\ <imageLocation>mau</imageLocation> \\ <title>mau</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>3</id> \\ <imageLocation>mau</imageLocation> \\ <title>mau</title> \\ </return> \\ <return> \\ <body>mau</body> \\ <id>4</id> \\ <imageLocation>mau</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>2</body> \\ <id>5</id> \\ <imageLocation>2</imageLocation> \\ <title>2</title> \\ </return> \\ <return> \\ <body>corpo</body> \\ <id>6</id> \\ <imageLocation>imagem</imageLocation> \\ <title>Titulo</title> \\ </return> \\ <return> \\ <body>corpos</body> \\ <id>7</id> \\ <imageLocation>imagem</imageLocation> \\ <title>Titulo</title> \\ </return> \\ <return> \\ <body>teste</body> \\ <id>8</id> \\ <imageLocation>teste</imageLocation> \\ <title>teste</title> \\ </return> \\ <return> \\ <body>rweqrrq</body> \\ <id>9</id> \\ <imageLocation>rwe</imageLocation> \\ <title>rewq</title> \\ </return> \\ </ns2:getNewslettersRemoteResponse> \\ </S:Body> \\ </S:Envelope> \\ but i always get a:
    java.rmi.MarshalException: Invalid URI From Server: , expected: http://schemas.xmlsoap.org/soap/envelope/
            at news.NewsService_Stub.getNewslettersRemote(NewsService_Stub.java:73)
            at hello.HelloMIDlet.getTextField(HelloMIDlet.java:168)
            at hello.HelloMIDlet.getForm(HelloMIDlet.java:132)
            at hello.HelloMIDlet.startMIDlet(HelloMIDlet.java:56)
            at hello.HelloMIDlet.startApp(HelloMIDlet.java:205)
            at javax.microedition.midlet.MIDletProxy.startApp(MIDletProxy.java:43)
            at com.sun.midp.midlet.Scheduler.schedule(Scheduler.java:374)
            at com.sun.midp.main.Main.runLocalClass(Main.java:466)
            at com.sun.midp.main.Main.main(Main.java:120)
    Can you please help me find the problem?
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    A bit late, but I'm sure others will use this answers. We encountered the same problem in our development and after some hours playing with our WSDL we found the source of the problem.
    The problem is having a field named "body" in the Object this apparently doesn't work well with SOAP we guess because of the Envelope having also a Body.
    So the solution is changing the field body to something like msgBody.
    Regards,
    Raanan Nevet

  • 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

  • Constrained values not generating correctly in Dashboard prompt

    Hi,
    I have a dashboard prompt which has 4 drop downs viz From Month, From Year, To Month, To year and one Mullti Select Product.The default and the drop down values for the first four prompts are controlled by SQL queries so that in drop down only those values are displayed in the drop down for which i have data in my fact tables and the multi select of product is a constratined one.
    As per the current scenario i have data for current month - 1 (say if current month is August so i have data for July). In the default values for these prompts i show the current month and year (August and 2010). So when i select July in my From Month prompt the values for other promts get set to August and 2010 for month and date prompts (both From and To). And then when i click on the multi select of product no values are shown on OBI screen even though they are in database.
    This is due to the fact the query that OBI genrates in the backend the To Month is set to August not May, even though May is shown on the dashboard.
    However, if cilck on GO then the values for contsratined promt are generated correctly and also the backend query changes the To Month is set to May.
    Could somebody help me to resolve this problem.
    Thx :)

    Reminds me of a bug I hit with constrained prompts and a time dimension, but I didnt have another dimension (your Product) in my case. I'll try and dig out the bug number for you. - Have you got a support account to login and check it out?

  • Profile not generating correctly via PFCG

    All,
           I am having an issue in our Solution Manager system in that when ever I add one specific transaction to a newly created role via the menu tab so that the profile generates correctly it will also add the following in the t_code auth_obj.
    0 - zzzzzzzzzzzz
    so my S_Tcode looks like this.
    0 - ZZZZZZZZZZZZZ, RPM_DX
    RPM_DX is the transaction that I am adding as we are setting up functionality for administering CHaRM.
    Is there a table that I can check on this?       I have deleted the role and recreated a completely new role and I get the same issue.

    Oh deary me... I have that in my system as well...
    I can see the SAP developer thinking to themself at the time:  "That's it! I have had enough of these "You are not authorized for this and that" messages now!!!" or "If Chuck Norris can solve all problems with a roundhouse kick then I can do the same to S_TCODE"... 
    Thanks for sharing.
    Julius

  • System is not generating a spool request for Dep.?

    Hi,
    When I am running a test run with 'planned posting run' system is not giving me any error but when I am executing it in a "repeat run" system comes up with a message
    "!! This processing can only be carried out as background processing !!
    But when I go to (Jobs Overview screen) see the spool request system is not generating the spool request and Please help me out what's wrong is happening and what shall I do.
    It is a new company code for the first time we are running the dep.
    Thanks in advance...
    Regards
    Nitin

    Dear Nitin,
    Refer Following threads
    fiscal year change has not yet
    AFAB - Not posting
    AFAB - Not posting
    Regards
    Saurabh

  • When scaling in page setup, 1st page prints correctly, but subsequent pages do not scale correctly/too large for the paper, parts of the text missing

    When trying to print in Firefox, and when scaling the page size in page setup, the first page prints correctly, but subsequent pages do not scale correctly and are too large for the paper, with parts of the text are being cut off at the top and right. This is not fixed by checking or un-checking the "ignore scaling/shrink to fit page width" in the print window, or by changing the scaling%.
    I am running Firefox 15.0.1, on Mac OS 10.5.8.
    The same problem happens in the print preview and if I save the print as a .pdf
    I have tried all the fixes in the how to's and others in various forums with no improvement.
    This happens every time I try to print a document scaled up or down only in Firefox.

    The 2nd page print scaling error has been an issue with Firefox on the Mac since 2011. People at Mozilla have not considered this a major problem. Try printing anything at less than 100% and you'll quickly see how every page after the first page being scaled wrong gets old real fast. The lack of a solution to this issue forced me long ago into using Safari as my primary browser. Good luck waiting until version 21 for a solution. Current release is 18.0.2.

  • Designerd does not generate Order BY code for Sort Order on a lookup tabel column.

    I am setting the Sort Order on a column which is based on a lookup table.
    When generate the the module, designer does not generate the code for the Sort Order that I set on the lookup table column.
    Is there a work around for this problem or is there some thing else that needs to be done in designer to make it generate the order by clause?
    I will very much appreciate help.
    Regards
    Prasad.

    A bound lookup item, will be generated as a NON-database item in Forms. Designer generates an ORDER BY CLAUSE (a Forms Block property) for the ordering. But a NON-database item cannot be included in the ORDER BY CLAUSE.
    I used a stored function for ordering the lookup item.
    Best regards
    Harm van Zoest

  • How can i generate correct SOAP-ENV:Fault in ABAP function module?

    We have clients consuming some functions from our SAP server, these functions are made available as web services. When a client passes wrong parameters to our functions we'd like to generate reasonable SOAP fault (using correct error code and error message) but simple raising (and declaring it in the corresponging section of the function module ) an exception gives us general "Internal Server Error" and that is all
    Are there any way to make good SOAP Fault?
    Thanx in advance.

    Hi,
    This might be helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
    Eddy

  • How to generate wsdl for complex type using wscompile?

    Hi
    Since couple of days I am trying to generate the the wsdl for following classes
    abstract class Key implements serializable{
    class sikeKey extends Key{
    int siteKey;
    class AddressKey extends siteKey{
    int addressId;
    class Model{
    AddressKey key = new AddressKey();
    }I am using following ant script for wscompile
          <wscompile
              fork= "true"
              base="${dest.dir}/war/WEB-INF/classes"
              server="true"   
              features="wsi"
              mapping="${dest.dir}/war/WEB-INF/Address_Mapping.xml"
              sourceBase="${war.dir}/WEB-INF/classes"
              optimize="false"
              debug="true"
              keep="false"
              verbose="true"
              xPrintStackTrace="true"
              config="${acws-config-dir}/Address_Config.xml">
              <classpath>
                            <pathelement path="${acws.classpath}"/>
                            <pathelement path="${war.dir}/WEB-INF/classes"/>
                   </classpath>
          </wscompile>
    <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
        <classpath path="${acws.classpath}"/>
    </taskdef>It generates the wsdl but without all complex type.
    <complexType name="AddressWebServiceModel">
    <sequence>
    <element name="addKey" type="tns:AddressKey" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="AddressKey">
    <sequence>
    <element name="siteID" type="string" nillable="true"/>
    <element name="addressID" type="int"/>
    </sequence>
    </complexType>Here it should create the right mapping for classes siteKey so that the webservice call can be mapped with the response of this Model.
    Any one know how to configure the above script for proper mapping of complex type?

    Add the concrete subclasses of Key in an <AddtionalType> element in your config.xm. file.

  • Internet  pages not loading correctly with Explorer for Macintosh 5.1

    I received the Ibook from my brother-in-law after his death. I've updated it with 512 ram and the newest version of OS X for this Ibook. When I access a web page with explorer for Macintosh 5.1 the page is not loaded correctly. it seems to wraparound , some heading overlap each other. Some pages won't load at all. When there are scroll bars and they are used, all that shows is blank. I'm use to the windows environment and am just preparing this machine for my brother to use to access the internet in his retirement. Am I missing some plug-ins or set-up?

    It looks like most people in the OS 9 Forum are recommending the wamcom-131-macos9-20030723.sit download available from this page:
    http://wamcom.org/latest-131/
    You have to sort through a lot of builds to find the correct one, but that looks to be it for Mac OS 9.
    I'm not sure that any browser version for Mac OS X 10.0.4 will work satisfactorily at this point in time, Jim. They are all likely to be as creaky as Internet Explorer 5.1, I'm afraid.
    lvg416, you may want to post about the problem in the Mac OS X v10.3 & earlier > Using Mac OS X Forum:
    http://discussions.apple.com/forum.jspa?forumID=745
    I did a little poking around in there, but not many people are using Mac OS X 10.0 (and for good reason). Personally, I didn't find Mac OS X usable until Mac OS X 10.3 (Panther) came on the scene.

  • JAXB is not generating the setter method for my tag

    Hi,
    I am generating java classes form my .xsd file using JAXB.
    The xsd definition has defnes a Form as a sequence of FormElement, where FormElement is a choice of graphical components like text etc. Form can have 0 or unbounded elements of typeFormElement
    Example
    <xs:element ref="sswfm:FormElement" minOccurs="0" maxOccurs="unbounded"/>
    It is creating the getter method for this tag like this-
    java.util.List getFormElement();
    but does not create setter method, namely, setFormElements which I would like to use when marshalling from swing to XML.
    If i remove the maxOccurs="unbounded, it is creating the setter method for this tag.But i want to keep this tag as it it and needs the setter method also.
    What should i do? Has one tried this before. HELP if you can
    Thank you in advance.

    Hi RavindraKshirsagar,
    We have a problem like you faced. Our requirement is that, we need to generate dynamically the PERSON element in our javabean.
    <xs:element name='SERVICE_REQUESTER'>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref='ORGANIZATION' />
                        <xs:element ref='PERSON' maxOccurs='unbounded' />
                   </xs:sequence>
              </xs:complexType>
         </xs:element>For this maxOccurs, as JAXB is not generating any Setter Method. As we need to get data dynamically from external application. If you could help us in handling this case dynamically, it will be well and good.
    Please send us the script / code asap.

Maybe you are looking for