Using a Response XSL on XAI Inbound Service creates an invalid XML

I created a Response XSL and plugged it into my XAI Inbound Service, however the Response XML it creates is invalid:
<?xml version="1.0" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope">
<SOAP-ENV:Body >
*<?xml version="1.0" encoding="UTF-8"?>*
<CmAccountSearch>
<Request AccountNumber="" StreetNumber="740" StreetLine1="Polaris Ave" City="Foster City" State="CA"/>
<Response ReturnCode="I">
<CustomerDetailsList AccountNumber="9231764166" CustomerName="Rovno,Aleksandr" AmountDue="0" IsCashOnly="false" StreetLine1="740 Polaris Ave"/>
<CustomerDetailsList AccountNumber="0304039866" CustomerName="Ray,Jamse" AmountDue="0" IsCashOnly="false" StreetLine1="740 Polaris Ave"/>
</Response>
</CmAccountSearch>
</SOAP-ENV:Body >
</SOAP-ENV:Envelope>
Note that a second <?xml...> tag is created after the SOAP tags.
Here is my XSL:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
     <xsl:output method="xml" indent="yes" encoding="UTF-8"/>
     <xsl:template match="/">
          <CmAccountSearch>
               <xsl:apply-templates/>
          </CmAccountSearch>
     </xsl:template>
     <xsl:template match="input">
          <xsl:element name="Request">
               <xsl:attribute name="AccountNumber">
                    <xsl:value-of select="accountId"/>
               </xsl:attribute>
               <xsl:attribute name="StreetNumber">
                    <xsl:value-of select="streetNumber"/>
               </xsl:attribute>
               <xsl:attribute name="StreetLine1">
                    <xsl:value-of select="streetName"/>
               </xsl:attribute>
               <xsl:attribute name="City">
                    <xsl:value-of select="city"/>
               </xsl:attribute>
               <xsl:attribute name="State">
                    <xsl:value-of select="state"/>
               </xsl:attribute>
          </xsl:element>
     </xsl:template>
     <xsl:template match="output">
          <xsl:element name="Response">
               <xsl:attribute name="ReturnCode">
                    <xsl:value-of select="returnCode"/>
               </xsl:attribute>
               <xsl:for-each select ="//customerDetails">
                    <xsl:element name="CustomerDetailsList">
                         <xsl:attribute name="AccountNumber">
                              <xsl:value-of select="accountId"/>
                         </xsl:attribute>
                         <xsl:attribute name="CustomerName">
                              <xsl:value-of select="customerName"/>
                         </xsl:attribute>
                         <xsl:attribute name="AmountDue">
                              <xsl:value-of select="currentAmountDue"/>
                         </xsl:attribute>
                         <xsl:attribute name="IsCashOnly">
                              <xsl:value-of select="cashOnlySw"/>
                         </xsl:attribute>
                         <xsl:attribute name="StreetLine1">
                              <xsl:value-of select="premiseAddressLine1"/>
                         </xsl:attribute>
                    </xsl:element>
               </xsl:for-each>
          </xsl:element>
     </xsl:template>
</xsl:stylesheet>
Here is the Response XML before applying the Response XSL to the XAI Inbound Service:
<?xml version="1.0" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope">
<SOAP-ENV:Body >
<CmAccountSearch>
<input>
<accountId/>
<streetNumber>740</streetNumber>
<streetName>Polaris Ave</streetName>
<city>Foster City</city>
<state>CA</state>
</input>
<output>
<customerDetails>
<accountId>9231764166</accountId>
<customerName>Rovno,Aleksandr</customerName>
<currentAmountDue>0</currentAmountDue>
<cashOnlySw>false</cashOnlySw>
<premiseAddressLine1>740 Polaris Ave</premiseAddressLine1>
</customerDetails>
<customerDetails>
<accountId>0304039866</accountId>
<customerName>Ray,Jamse</customerName>
<currentAmountDue>0</currentAmountDue>
<cashOnlySw>false</cashOnlySw>
<premiseAddressLine1>740 Polaris Ave</premiseAddressLine1>
</customerDetails>
<returnCode>I</returnCode>
</output>
</CmAccountSearch>
</SOAP-ENV:Body >
</SOAP-ENV:Envelope>
I would like to know if anyone is familiar with this issue and how I can go about to fix it.
Any response will be greatly appreciated.
Thanks in advance.

Just set RETRIEVE_SW to 'false', APPT_RETRIEVE_FLG will be automatically set to 'C' internally.
Setting ACTION_SHOW_APP_SW to true has no meaning for pageAction 'read'.

Similar Messages

  • How XAI inbound service creates an activity ?

    Hi,
    Can any one help me with how an XAI inbound service creates an activity on invoking from middle ware and the same automatically creates an outbound communication?
    any help will be appreciated.

    You cannot extend the MO with a BO, as the MO is Read Only.
    See the MO Option +'BO Maintenance (Y/N)'+ for 'BATCH JOB'.
    Alternatively, you can define a Business Service instead. Use Service *'CILZRBPP'*, below is an example (element values have been defaulted for demonstration purposes):
    <schema pageAction="add">
        <batchJobId mapField="BATCH_JOB_ID"/> 
        <batchCode mapField="BATCH_CD" default="TD-BTERR"/> 
        <userId mapField="USER_ID"/> 
        <programName mapField="PROGRAM_NAME" default="CIPQBERB"/>
    </schema>XAI Submission:
    <RXS-BatchSubmission>
    </RXS-BatchSubmission>Result/Response:
    <RXS-BatchSubmission>
      <batchJobId>23110150739990</batchJobId>
      <batchCode>TD-BTERR</batchCode>
      <userId>SYSUSER</userId>
      <programName>CIPQBERB</programName>
    </RXS-BatchSubmission>if your Batch Daemon is running, batch will be executed without any delay.

  • Cancel Payment using XAI Inbound Service (CC&B)

    Hi All,
    Do you have any idea how to cancel payment using XAI in CC&B?
    Now Im using xai Inbound service (SSvcPaymentEventMaintenance) to do cancellation process, but it just affects for the payment status only, meaning payment and payment tender status become cancel but the payment amount for the related bill is still not deducted. The bill is still in status "Fully Matched". Seems the financial transaction for payment cancellation is not created. Any idea about this ?
    Thank you,
    Taufix

    You must use a Business Service to perform such actions, although there is no such default available even in the Demo data, follow below steps (assuming you are on CC&B 2.2.x or higher):
    - Create/Configure a Business Service using Service Program 'CILPTNDP - Cancel Payment Tender'.
    - Create/Configure a SS with following steps (SS Schema would contain the Payment Event Id):
    1. Invoke/read Payment Event and retrieve the PAY_TENDER_ID
    2. Invoke Business Service created above for each PAY_TENDER_ID by providing the Cancel Reason Code.
    - Expose above created SS as an XAI Inbound Service.

  • How to get only mandatory elements of BO schema using XAI Inbound service

    Hi Folks,
    I create a XAI Inbound service for a BO and I just want to generate the WSDL xml request schema with only mandatory fields of that BO.
    How to acheive this? Is it possible and is there any solution already for this?

    Hi Folks,
    I create a XAI Inbound service for a BO and I just want to generate the WSDL xml request schema with only mandatory fields of that BO.
    How to acheive this? Is it possible and is there any solution already for this?

  • Create a flat-file upload for a BO XAI Inbound Service?

    Hello all,
    If we don't have a schema defined for a BO XAI Inbound Service, how can we create the XSL and the flat-file upload schema file for it.
    Any advice?
    Regards,
    Kerr

    I don't have problem to create the XSLT mapping.
    But because it is to create a flat-file upload for a Business Object XAI Inbound Service, it doesn't have a schema on the server as to the thread Create Schema for Business Object to use for XAI Inbound Service?
    And I can't create that flat-file upload without a schema on the server.
    Or I can use the BO XAI Inbound Service WSDL instead to create the mapping for the flat-file upload.
    Regards,
    Kerr

  • Missing namespace on XAI Inbound Service Fault Element

    Hi,
    when a XAI Inbound service errors out, it uses the Fault element defined in the WSDL, which normally should be:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">+
    +<soapenv:Body>+
    +<soapenv:Fault>+
    +<faultcode>soapenv:Client</faultcode>+
    +<faultstring>Client Error</faultstring>+
    +<detail>+
    *+<ouaf:Fault xmlns:ouaf="urn:oracle:ouaf">+*                 
    -- omiting details
    +</ouaf:Fault>+
    +</detail>+
    +</soapenv:Fault>+
    +</soapenv:Body>+
    +</soapenv:Envelope>+
    However, in one environment i am getting this response, without the namespace:
    +<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">+
    +<soapenv:Body>+
    +<soapenv:Fault><faultcode>soapenv:Client</faultcode>+
    +<faultstring>Client Error</faultstring>+
    +<detail>+
    *+<ouafFault>+*              
    -- Omiting Details
    +</ouafFault>+
    +</detail>+
    +</soapenv:Fault>+
    +</soapenv:Body>+
    +</soapenv:Envelope>+
    This happens both for Custom and Base XAI Inbound services.
    Already validated the patching level between environments.
    The logs do not show any obvious difference.
    I will appreciate any idea or suggestion.
    Thanks
    Regards
    Ernesto.

    All the environments had the same patching level and our problem was in one environment only.
    We cloned the rowking environment ontop of the non-working one and it's solved, although we don't know which was the reason. My guess is some of the patches was not properly applied.
    Thanks
    Regards
    Chipi.

  • Problem in uploading XML via XAI Inbound Service and XAI Receiver..

    Problem in MDM 2.0.1
    I'm trying to upload some interval data in batches via XAI.
    I have created one XAI Inbound service *(D1-SUNXAI)* where i am using BO *(D1-IMDSeeder)*
    Then I have created one XAI RECEIVER where XAI class is XMLFILERCVR, XAI user id is XAIURL+
    My scan directory is C:\ouaf\DEV9\upload where i'm keeping the *.xml files.
    But these files are not uploading to database.
    Please provide a solution for this..
    Edited by: Suraj Keerthi on Apr 26, 2011 6:24 PM

    You need to create TWO inbound services to accomplish it. One is to create the XML message and the other one is to process the transaction (add meter read).
    Thanks,
    Sankara.

  • OUAF / MDM 2.0.1 / XAI Inbound Service - SyncRequestInbound

    I am trying to "import" an Device from my system to MDM using D1-SyncRequestInbound, but some errors have occurred. Can someone post an example ?
    This is my xml:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:d1="http://oracle.com/D1-SyncRequestInbound.xsd">
    <soapenv:Header/>
    <soapenv:Body>
    <d1:D1-SyncRequestInbound dateTimeTagFormat="xsd" transactionType="?">
    <d1:externalReferenceId>1</d1:externalReferenceId>
    <d1:initialLoad>F1IL</d1:initialLoad>
    <d1:bo>D1-InitialSyncRequestDevice</d1:bo>
    <d1:targetMo>D1-DEVICE</d1:targetMo>
    <d1:targetBo>D1-DEVICE</d1:targetBo>
    <d1:externalSystem>CM-EXT1</d1:externalSystem>
    <d1:externalPkValue1>1</d1:externalPkValue1>
    <d1:syncRequestDetails>
    <d1:original>
    <d1:initialSnapshot>
    <d1:deviceType>CM-METER-TYPE1</d1:deviceType>
    <d1:manufacturer>CM-MANUF1</d1:manufacturer>
    <d1:model>CM-MODEL1</d1:model>
    </d1:initialSnapshot>
    </d1:original>
    </d1:syncRequestDetails>
    </d1:D1-SyncRequestInbound>
    </soapenv:Body>
    </soapenv:Envelope>

    Below should work provided you have created/configured:
    - External System : CM-EXT1
    - Device Type: CM-METER-TYPE1
    - Manufacturer/Model : CM-MANUF1 / CM-MODEL1
    You SHOULD NOT define <bo> element, it'll be derived based on <initialLoad> tag, i.e. F1IC - Ongoing Sync/Incremental Sync and F1IL - Initial Load.
    <finalSnapshot> is what you need and you should be at least SP5 or above, if below you'd have to apply appropriate patch.
    <D1-SyncRequestInbound>
      <externalReferenceId>32100057871898</externalReferenceId>
      <initialLoad>F1IC</initialLoad>
      <targetMo>D1-DEVICE</targetMo>
      <externalSystem>CM-EXT1</externalSystem>
      <externalPkValue1>1</externalPkValue1>
      <externalPkValue2 />
      <externalPkValue3 />
      <externalPkValue4 />
      <externalPkValue5 />
      <syncRequestDetails>
        <original>
          <initialSnapshot>
            <customElements />
            <formattedElements>
              <formattedElements />
            </formattedElements>
          </initialSnapshot>
          <finalSnapshot>
            <deviceType>CM-METER-TYPE1</deviceType>
            <boStatus>ACTIVE</boStatus>
            <manufacturer>CM-MANUF1</manufacturer>
         <model>CM-MODEL1</model>
            <customElements />
            <formattedElements />
          </finalSnapshot>
        </original>
      </syncRequestDetails>
    </D1-SyncRequestInbound>

  • Creating XAI inbound schema for add transaction

    Hi friends,
    I am tring to creating xai inbound service for add transaction using business objects, when i tested that inbound service through dynamic xai i am getting error like this ,would some body suggest me to solve this.
    Transformation Error
    com.splwg.shared.common.LoggedException;
    Logged Exception was rethrown;
    com.splwg.base.web.xaiui.webxaischemaRepository.getSchemaFileNameFor
    ServiceAndVersion(WebXaiSchemaRepository.java:84)
    XAI Submission tab error for CMADDMETERREAD
    thanks and regards
    sivaram

    Registered Inbound Service should work either from 'XAI Dynamic Submission' or 'XAI Submission'.
    Alternatively, you could also input/provide values on the 'XAI Dynamic Submission' screen, click 'Show XML', copy the SOAP Envelope, and paste on 'XAI Submission' screen for testing purposes.
    This approach would be similar to soapUI.
    Ensure that parameters/values on 'XAI Options' are configured correctly as per your installation.

  • Any possiblity to use single Inbound Service Interface with multiple Receiver Agreements

    Hi All,
    Scenario: PROXY to FILE.
    Requirement is to receive to two locations.
    Is it possible to use single Inbound interface with multiple Receiver Agreements. I tried using two operation in the Inbound Service Interface, and Operation Specific in Determination. But couldnt proceed further. Do I need to use seperate Service Interface for two receiver locations?
    Please suggest some solution.

    Hi Naveen,
    There is a possibility but in the case in the same server location with dynamic configuration: Placing file in two different directories using single receiver communication Channel
    With different location you would need to develop a new adapter module as Amit Srivastava explains and develops here Send File to Two Different Locations using Adapter Module
    Regards.

  • Issue in parsing the response of a WebService in Service Link

    I am getting issues in connecting an external (non cisco) application via WebService. Appreciate if anyone can help in fixing the issue. I am using 9.3.2 Patch 6.
    Connectivity to an external system (a 3rd party application in my firm) was achieved via WebService using the ServiceLink module.
    Used the Outbound HTTP/WS Adapter where I am sending request and receiving response (bi-direction).
    Successfully constructed and passed the XML request to the WebService.
    Received response from the WebService as an XML / Soap Message which is then wrapped with the <Message> tag with the channel-id attribute successfully.
    Designed a XSL Transformation (For this WebService, the XSLT did not generated automatically) which, I hope is not being applied properly in CPSC; but working fine outside of CPSC when I have checked the response XML with the XSLT in an online editor (http://www.freeformatter.com/xsl-transformer.html). Everything looks perfect in this editor where I have issues in CPSC.
    I am getting a Transformation exception in CPSC and the response message was unable to convert into the nsXML. The exception I am receiving is below. Not sure whether it is due to the namespace or something else..
    Note: I am having this issue in this Agent/WebService alone. I have tested with couple other WebServices where I didn't have any issues in getting the response and update the field in CPSC form successfully. So, I believe that there are no issues in the parser in our server.
    Exception Received:
    org.xml.sax.SAXParseException: Premature end of file. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124) at com.newscale.bfw.util.XMLValidator.validate(XMLValidator.java:147) at com.newscale.is.core.MessageExecutor.processNSTaskTransportMessage(MessageExecutor.java:135) at com.newscale.is.core.MessageExecutor.processTransportMessage(MessageExecutor.java:431) at com.newscale.is.core.MessageExecutor.processSynchronousOutboundMessage(MessageExecutor.java:526) at com.newscale.is.adk.OutboundAdapterUtil.processSynchronousResponse(OutboundAdapterUtil.java:44) at com.newscale.is.adapter.http.HTTPOutboundAdapter.call(HTTPOutboundAdapter.java:190) at com.newscale.is.adapter.http.HTTPOutboundAdapter.processMessage(HTTPOutboundAdapter.java:147) at com.newscale.is.core.MessageRouter.routeMessage(MessageRouter.java:115) at com.newscale.is.core.MessageExecutor.processOutboundMessage(MessageExecutor.java:604) at com.newscale.is.core.MessageExecutor.processMessage(MessageExecutor.java:125) at com.newscale.is.core.QueueListener.handleTextMessage(QueueListener.java:91) at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:340) at org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:237) at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:168) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99) at org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:73) at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:101) at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71) at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:115) at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:285) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:91) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:322) at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:213) at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) at org.apache.camel.processor.interceptor.DefaultChannel.process(DefaultChannel.java:303) at org.apache.camel.processor.RouteContextProcessor.processNext(RouteContextProcessor.java:45) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) at org.apache.camel.processor.UnitOfWorkProcessor.processAsync(UnitOfWorkProcessor.java:150) at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:117) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:71) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:99) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:86) at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:105) at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:561) at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:499) at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325) at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1059) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1051) at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:948) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    Sample XML File received as response from the WebService – which then wrapped with the <message> tag along with appropriate channel-id.
    <message channel-id="10a60e45-65d4-40c0-826f-1a91d2135da0">
    <?xml version="1.0"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <ns:ITSPResponse xmlns:ns="urn:PegaRULES:SOAP:BNYMDataITSPTest:Services">
    <Output>Test IT Service Portal - 1</Output>
    </ns:ITSPResponse>
    </soap:Body>
    </soap:Envelope>
    </message>
    XSL Transformation
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform" xmlns:ns="urn:PegaRULES:SOAP:BNYMDataITSPTest:Services">
    <xsl:template match="/">
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns="urn:PegaRULES:SOAP:BNYMDataITSPTest:Services">
    <message>
    <xsl:attribute name="channel-id">
    <xsl:value-of select="//@*[local-name()='channel-id']" />
    </xsl:attribute>
    <send-parameters>
    <agent-parameter>
    <name>Output</name>
    <value> <xsl:value-of select="//*[local-name()='Output']" /> </value>
    </agent-parameter>
    </send-parameters>
    </message>
    </xsl:template>
    </xsl:stylesheet>

    The reply I got from Cisco Engineering team for this is to get the response as a soap message than XML data.
    The tag should not be available in the response received. If we don't have this, the response will still consider as a valid XML / Soap message after wrapped by the tag.
    If we have the tag in the response, after wrapping the tag, the format of the response will not be in good format.
    Also, Cisco Engineering team has confirmed that it is not possible to remove the tag from CPSC. It should be removed by the WebService providers while sending the response.
    For my case, I am consuming the WebService from a tool similar to CPSC where the entire settings has to be changed to send the response format as soap message than XML. So, we need to have another WebService as a middleware! Bad day!

  • Inbound Service Interface without Input Request Message

    Is it possible to create an Inbound Service Interface without Input Request Message?  We are trying to create a web service to get all records from a database table hence no input parameter is needed.  We have tried in both XI 7.0 and PI 7.1 but couldn't do it.  Is this scenario not supported by ESR or am I missing something?  Any hint will be appreciated.
    Regards,
    Jiannan

    In the scenario I described in my initial post the table structure is only needed in the response message to receive the data. 
    For a web service generated from a RFC function module using the service creation wizard (SE80) a table parameter is automatically included in the request message.  I can understand this as the wizard can not figure out if the table parameter is needed in the request message or not.
    I have tried to use the service creation wizard to generate a web service from the function module RFCPING that has no input or output parameters.  As shown in below WSDL segment the WSDL does allow not having any input or output parameters.
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style">
    - <xsd:element name="Rfcping">
    - <xsd:complexType>
      <xsd:sequence />
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="RfcpingResponse">
    - <xsd:complexType>
      <xsd:sequence />
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="Rfcping">
      <wsdl:part name="parameters" element="tns:Rfcping" />
      </wsdl:message>
    - <wsdl:message name="RfcpingResponse">
      <wsdl:part name="parameter" element="tns:RfcpingResponse" />
      </wsdl:message>
    Thanks,
    Jiannan

  • Using JAX-RPC handlers to proxy web service traffic

    Hi,
    I want to use JAX-RPC handlers to proxy web service traffic. In some instances the handler should modifiy / verify the message before forwarding the request to the remote web service end-point. Hence, the handler should forward the call by invoking the remote web service. In some cases the result from invoking the remove service should be post-processed by another proxy handler. To ensure that the result from invoking the remote service is available for post-processing I assume that the handler invoking the remote service must add the response message to the message context ( e g setProperty method) in the handler. Is this correctly understood?
    I would like to understand that this is a technically feasible and reasonable approach of using JAX-RPC. I'd really appreciate some feedback here.
    Many thanks,
    Tom

    Hi Eric,
    Thanks for your response. we are trying to access WSRR( manages end point urls for 7 different environments) and generate the end point dynamically at the design time. As we figured out WSRR is not compatible with OSB we are trying to implement these client side (OSB Proxy service) handlers which would get the dynamic endpoint depending on the environment used. I was able to create the handlers for this and set the jar in the classpath but the client service which should be using these handlers have to have these handlers defined in the deployment descriptor(web.xml) which am unable to see with a OSB project.
    Will there be a deployment descriptor(web.xml/webservices.xml) associated with Proxy services on OSB? Or Is there any other way to add custom JAX-RPC Handlers to a proxy service? Or is there any way to connect to WSRR directly?
    Thanks,
    Swetha

  • How to use server-side classes in a web service proxy client ?

    Greetings,
    I'm using WebLogic 10.3 with Workshop 10.3 on Windows. I generate a Web Service client in Workshop. There are two options in the New->Others->Web Service category: ClientGen Web Service Client and Web Service Client. I've chosen the second one as it's a JAX-WS Web Service and I think that the first one (ClientGen Web Service is to be used with JAX-RPC Web Services. The proxy is generated but, since the Web Service is using POJOs as parameters, a new version of these POJOs is also generated. For example, my Web Service has an operation like: public OrderStatus putOrder (Order), where OrderStatus and Order are application scoped POJOs. The proxy generation process generates a _PortType class which is supposed to be used by the calling client. This class defines an operation public OrderStatus putOrder(Order), but the OrderStatus and Order classes aren't the original ones but the generated ones. The issue is that these generated classes aren't completely equivalent to the original ones, for examples all lists become arrays, the constructors are different, etc. This is extrememly annouying. Is there any option to say to the proxy generation process to keep with the server-side classes ?
    many thanks in advance for any help.
    Nicolas

    The only solution to this problem seems to be using dynamic proxies. But it doesn't work neither as the following code:
    Service service = Service.create(new URL("http://localhost:7001/OrderServiceProject/OrderService?WSDL"),
    new QName("http://www.simplex_software.fr/demo/services", "OrderService"));
    OrderService orderService = service.getPort(new QName("http://www.simplex_software.fr/demo/services", "OrderServicePort"), OrderService.class);
    raises the following exception:
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.PutOrder
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.PutOrderResponse
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.GetOrderStatus
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.GetOrderStatusResponse
    Exception in thread "main" java.lang.IllegalArgumentException: fr.simplex_software.demo.services.OrderService is not an interface
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:630)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:331)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
         at javax.xml.ws.Service.getPort(Service.java:92)
         at fr.simplex_software.demo.client.OrderServiceClient.main(OrderServiceClient.java:23)
    As a matter of fact, fr.simplex_software.demo.services.OrderService is not an interface but, nevertheless, it's a SEI and it was generated as it is by the IDE Web Service wizard. Big, big confusion ! Of course, this sample works perfectly with Metro, in NetBeans using Glassfish.

  • Late response from a sap web service or timeout

    Hi,
    I have developed a function module an exposed it as web service. The consumer developed by the partner is a java client. Every request for the ws lasts 18 seconds. The response time is unacceptable. I have developed a .net client and called the ws. the first call lasts nearly as long as the java client but the repsonse time for successive calls is very short.
    How can I get the responses faster with the java client?
    thanks,
    - ferudun

    Paula,
    I suppose you're using CFINVOKE (http://www.activsoftware.com/code_samples/code.cfm/CodeID/44/ColdFusion/Invoking_SOAP_Web_Services_with_ColdFusion_MX_CFINVOKE_Tag) or are you using a third party tool like CFX_SOAP (http://www.activsoftware.com/products/productdetail.cfm/id/1015)?
    Are you working with WebAS 6.4 or 6.2?
    It works with web services created with WebAS 6.4, but you should generate proxy classes. Check Thomas' weblog (second part of it)->https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1012. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    The WSDL generated by this method is more standard than the one generated when you just Remote enable an FM and look at the webservice browser.
    Th core of CF MX is Java and that engine is rather strict in standards.
    Eddy

Maybe you are looking for

  • ITunes crashes at startup

    Hello, Got a major issue here. Suddenly my iTunes crashes everytime at startup. First my specs and versions; iMac 27" 2.66 Ghz Intel Corei5 with 8 GB DDR3 Version 10.8 Mountain Lion iTunes version 10.6.3 iPhone 4 16 GB version 5.1.1 iPad 3 32 GB vers

  • Photos Do Not Appear When Dragged Into Ibooks Author

    I formatted my images to 72 DPI .png files and when i drag and drop them into Ibooks Author I can see them, I can manipulate them, resize,  add captions.  When I do a test the images appear in the text view portriat mode of the Ipad but when in the l

  • Going to next page in smartform

    Dear friends, I need ur help solving a problem in smartform. I need to add a new page and the first page should goto the next page (page2) on a condition. 1. I created a new page (page2) 2. In first page (in PAGE1 properties) I assigned PAGE2 as next

  • Has anyone actually gotten the 2.2 Software Upgrade to work?

    I know there are numerous threads about the 2.2 Software Upgrade and how it's not working. Has anyone actually gotten it to work?? If you have, please reply with what you did to make it work, how long it took you, etc.. Thanks in advance!

  • Selecting records based on formula fields

    Post Author: Mike Kennedy CA Forum: Formula I have created a field (called "Shortage") that is the result of subtracting two running totals and have inserted all three fields into the group footer.  I only want to select those records that have a neg