XML Namespace in WebService Request/Response

Hi all,
I have a question regarding xml namespace usage in wsdl and the corresponding request/response messages.
I have already browsed quite some articles about xml namespaces as well as some forum threads, but I am still not sure.
I have the following part of a wsdl document (generated by Integration Directory), defining a targetnamespace.
u2026
<wsdl:types>
    <xsd:schema targetNamespace="http://www.dorma.com/sap/xi/finance"
                         xmlns="http://www.dorma.com/sap/xi/finance"
                         xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <xsd:element name="DebtorGetDetailResponse" type="Z_BAPI_DEBTOR_GETDETAIL_Response"></xsd:element>
        u2026
        <xsd:complexType name="Z_BAPI_DEBTOR_GETDETAIL_Response">
            <xsd:sequence>
                <xsd:element name="DEBITOR_COMPANY_DETAIL" type="BAPI1007_5" minOccurs="0">
                </xsd:element> u2026
            </xsd:sequence>
        </xsd:complexType>
        u2026
    </xsd:schema>
    u2026
</wsdl:types>
u2026
In my understanding, all types defined in the schema section of a wsdl document will be in the targetnamespace, if defined.
Therefore the element DEBITOR_COMPANY_DETAIL would be in the namesapce
http://www.dorma.com/sap/xi/finance
However, the ABAP proxy generates a response message like follows,
where only the root element is in this namespace and the child elements are in the global namespace:
<?xml version="1.0" encoding="utf-8"?>
<ns1:DebtorGetDetailResponse xmlns:ns1="http://www.dorma.com/sap/xi/finance"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DEBITOR_COMPANY_DETAIL>
        u2026
    </DEBITOR_COMPANY_DETAIL>
    u2026
</ns1:DebtorGetDetailResponse>
Do I have a wrong understand of the wsdl (xml schema) or is this an erroneous behavior?
The problem is that some 3rd-party software web service module does not accept
the response message as not complient with the respective wsdl document.
Any input is appreciated.
Thanks
Hans
Edited by: Hans-Jürgen Schwippert on Oct 1, 2008 12:02 PM

I have the same problem. I am trying to connect to a webservice running on IBM websphere but it doesn't accept the xml in my request. It appears to be the same namespace issue.
Did you ever find a solution for this?
Is it a valid webservice call if you omit the namespace for an element or is this a bug in the Adaptive WS implementation?
Web Dynpro web service model generated request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
<enableSession>true</enableSession>
</sapsess:Session>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
look between these lines -
<ns1:tamKontrolleraKontoLastAnrop xmlns:ns1="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
<AnvandarNamn>30039647</AnvandarNamn>
</ns1:tamKontrolleraKontoLastAnrop>
look between these lines -
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
As you can see the tag
<AnvandarNamn>30039647</AnvandarNamn>
is missing a namespace.
It should be
<ns1:AnvandarNamn>30039647</ns1:AnvandarNamn>
Using a third part tool called Soapui i generate this request that works:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tam="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
   <soapenv:Header/>
   <soapenv:Body>
      <tam:tamKontrolleraKontoLastAnrop>
         <tam:AnvandarNamn>30039647</tam:AnvandarNamn>
      </tam:tamKontrolleraKontoLastAnrop>
   </soapenv:Body>
</soapenv:Envelope>

Similar Messages

  • How to remove XML namespace in SOAP request

    Hello
    I would like to change one of our existing interfaces to use a SOAP communication channel rather than File. The file currently contains FIDCCP02 Idocs.
    I have created a new communication channel using SOAP 7.1 and generated a Java client. When I send a request to the endpoint from Java, PI returns a SOAP fault.
    Error
    The error in the monitor is 'No standard agreement found for ..'. I think this is because the file contains XML with a root element with no namespace, but the root element in the SOAP message does have a namespace.
    Example requests
    File message :
    <FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    SOAP message :
    <ns2:FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    When I send a test request from RWB with no namespace it is successful.
    Attempt to remove namespace
    I have tried adding AF_Modules/XMLAnonymizerBean with no parameters as the first module on the SOAP communication channel, but this does not appear to make any difference. I have refreshed the cache.
    regards
    Steve

    Hello Iñaki
    Thanks for your reply.
    I had read the blog about the XMLAnonymizerBean. It looks very straightforward, and in theory should do just what I need.
    I've added the anonymizer bean as the first module as the SOAP message is asynchronous, and I want to remove the namespaces from the request.
    I want to exclude all namespaces so I haven't set any parameters.
    The SOAP channel in Communication Channel monitor has a status of 'Channel Started but inactive'. I cannot see any messages in the Processing Details for this channel, even though I have sent test messages from Java code and from RWB (the message from RWB without the namespace does reach the receiver). This makes me wonder if I have not configured the interface to use the new SOAP channel correctly, although I can see it in the Receiver Determination configuration overview.
    I can see the messages in SXMB_MONI but can't find which communication channel is being used by the sender.
    I'm using PI 7.1.
    regards
    Steve

  • Outputting request/response XML

    I usually tend to use a network analyzer to examine outgoing/incoming packets for actual XML. However, I'm invoking web services using HTTPS and due to the encryption I cannot see the packets' payload. I tried using the following VM setting: -Dweblogic.webservice.verbose=true but it didn't help. My question is whether anybody knows how to output the web service XML (outgoing/incoming) using either a system property or within the code?

    Refer this link for Custom Handlers: http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_adv/handlers.html
    There may be some other simpler approach.
    BUT, you can use Handlers approach to intercept the outgoing and incoming request and in that method, you can do System.out.println or write the webservice xml into a File. Below is the code snippet in custom handler, where I am writing my Ougoing WebServices XML into a file named: webServiceRequest.xml
    Create a custom Handler class and implement the logic in the method: handleMessage(SOAPMessageContext messageContext). I used standard sun jdk imports and nothing specific to weblogic. Then add this Handler to my Service binding provider.
    *** To add custom handler to your service object ***
    // Set the Custom Handler to to your aPort object with this code snippet. Remeber that IoDHandler1.java is a custom java file.
    BindingProvider bindingProvider = (BindingProvider) aIoDPort;
    Binding aBinding = bindingProvider.getBinding();
    List<Handler> allHandlers = aBinding.getHandlerChain();
    allHandlers.add(new IoDHandler1());
    aBinding.setHandlerChain(allHandlers);
    **** Code snippet in Custom Handler1 class *****
    import javax.xml.namespace.QName;
    import javax.xml.ws.handler.soap.SOAPHandler;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    import javax.xml.soap.*;
    public boolean handleMessage(SOAPMessageContext messageContext) {
    Boolean outboundProperty = (Boolean) messageContext.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
    if (outboundProperty.booleanValue()) {
         System.out.println("IoDHandler1::handleMessage() -> Outbound Message");
         try {
              SOAPMessage soapMessage = messageContext.getMessage();
              File aFile = new File("webServiceRequest.xml");
              FileOutputStream aFOS = new FileOutputStream(aFile);
              soapMessage.writeTo(aFOS);
         } catch (Exception e) {
              System.out.println("IoDHandler1::handleMessage() -> Inside CATCH Error Block -> IGNORE FOR NOW AND CONTINUE...");
              e.printStackTrace();
    } else {
    // You can write similar code snippet to out Response xml also in this section...
         System.out.println("IoDHandler1::handleMessage() -> Inbound Message");
    //System.out.println("IoDHandler1::handleMessage() -> Response: " + messageContext.getMessage().toString());
    return true;
    HTH
    Ravi Jegga

  • View the webservice soap request/response

    Hi,
    I am in wls81sp4. I have some webservice developed in workshop. And I created webservice controls for them. When the webservice is called in jsp, I couldn't see the request/response soap message on wls console even though I set -Dweblogic.debug.webservice=true -Dweblogic.webservice.verbose=true. I have another webservice, the client is the proxy, and I can see the message on console.
    How can I see the message from calling the control? Thanks

    HI Ronald,
    To get the SOAP Fault into your orchestration:
    1) On the Send port in BizTalk:
       a) WCF Adapter Properties, Messages tab: Propagate Fault Message = true
       b) WCF Adapter Properties, Messages tab: Inbound message body: Either use "soap:Body" or use a path that extracts your message OR /*[local-name()='Fault'] to get the SOAP fault
       c) "Enable routing for failed messages" - this has no impact on the SOAP Fault. So you probably want it set to true to handle real transmission errors (non SOAP faults).
    2) On the Send port within your orchestration
       - Select the operation & then "New Fault Message"
       - Set the message name to SoapFault (or whatever)
       - Set the message type to be the referenced schema: BTS.soap_envelope_1__2.Fault. (If this was a SOAP 1.1 operation you would use BTS.soap_envelope_1__1.Fault).
    3) In the Scope around your Send operation
       - Add new exception handler
       - Select "Exception Object Type" to the port-name.operation-name.SoapFault you created in step 2
       - Specify the object name, e.g. Fault
       - Fault is now the XML of the SOAP Fault & you can use XPath to get the Fault Reason and Message elements.
    Refer:
    How to catch and process SOAP faults
    MSDN has explained the process in detail:
    Using BizTalk Server Exception Handling. You can blindly follow it.
    Please mark as answer or vote as helpful if my reply does

  • Webservice request namespace

    Hi there...
    How can i put a namespace in my request xml in flex. So, my
    going data is:
    <clientRequestwithReturn>
    <MoneyTransferRequest>
    <requestChannel>01</requestChannel>
    <fromAccountNo>0008830006000007</fromAccountNo>
    </MoneyTransferRequest>
    </clientRequestwithReturn>
    But i need to send :
    <xxx:clientRequestwithReturn xmlns:open="
    http://www.xxxxx.org/">
    <yyy:MoneyTransferRequest xmlns:mon="
    http://www.yyyyy.com/">
    <requestChannel>01</requestChannel>
    <fromAccountNo>0008830006000007</fromAccountNo>
    </mon:MoneyTransferRequest>
    </open:clientRequestwithReturn>
    So i need to put namespace info to my request object. How can
    i do it?

    I have the same problem. I am trying to connect to a webservice running on IBM websphere but it doesn't accept the xml in my request. It appears to be the same namespace issue.
    Did you ever find a solution for this?
    Is it a valid webservice call if you omit the namespace for an element or is this a bug in the Adaptive WS implementation?
    Web Dynpro web service model generated request:
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header>
    <sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/">
    <enableSession>true</enableSession>
    </sapsess:Session>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    look between these lines -
    <ns1:tamKontrolleraKontoLastAnrop xmlns:ns1="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
    <AnvandarNamn>30039647</AnvandarNamn>
    </ns1:tamKontrolleraKontoLastAnrop>
    look between these lines -
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    As you can see the tag
    <AnvandarNamn>30039647</AnvandarNamn>
    is missing a namespace.
    It should be
    <ns1:AnvandarNamn>30039647</ns1:AnvandarNamn>
    Using a third part tool called Soapui i generate this request that works:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tam="http://schemas.fora.se/modell/tam/1.0/TAM_Data">
       <soapenv:Header/>
       <soapenv:Body>
          <tam:tamKontrolleraKontoLastAnrop>
             <tam:AnvandarNamn>30039647</tam:AnvandarNamn>
          </tam:tamKontrolleraKontoLastAnrop>
       </soapenv:Body>
    </soapenv:Envelope>

  • Sender adapter request response bean not working for calling a webservice

    Hi All,
    In PI 7.31, My scenario :  SOAP sender Asynch-> PI -> HTTP Receiver Sync ->take response to call another webservice  (SOAP)
    I have configured request response bean and response one way bean in the sender adapter to make this work.
    Attached the screenshot of the module config in  the sender soap adapter. The final response from HTTP has to be used to call another webservice (not sender webservice)
    This giving an error "couldn't retrieve binding values for sender to receiver etc etc ----------"
    Has anyone configured response one way bean to call a webservice to submit? If so, please share the configuration details. And let me know if I am doing anything wrong
    thx
    mike

    Hi Michael,
    I think the adapter type is for the receiver channel looking at the documentation SAP Library - SAP Exchange Infrastructure
    Have you checked your receiver channel doesn't belong to a party?
    I havent tried this bridge with the http_aae but looks to be problematic according with Michal comment here http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/01/28/generic-pi-async-sync-bridge-configuration-for-any-adapters#comment-454463
    Regards.

  • Workbench freezes on call to BAPI_PRODORDCONF_GETLIST Request/Response XML

    I have created a simple transaction in MII 12.0.6 with three JRA actions: Start Session, Function Call, and End Session.  From the configuration dialog of the Function Call action, I confirmed the existance of BAPI_PRODORDCONF_GETLIST via a BAPI search. I attempted to select this BAPI only to have the Workbench freeze up.  This BAPI works flawlessly in SE37. I checked the logs and saw that the following error message was thrown:
    com.sap.mw.jco.jra.JRA$ResourceException: Couldn't execute interaction. Transaction rolledback due to connection interruption...
    I am using the same JRA connection to call BAPIs in other transactions without any issues.
    Has someone ran into a similar issue before that could assist me in resolving this?
    FYI...my objective is to obtain a list of confirmations, including the confirmation number and confirmation counters, from the output of this BAPI which will be inputted into BAPI_PROCORDCONF_GETDETAIL to maintain a count of the yield and scrap already confirmed for that particular operation/phase.
    Thanks,
    Michael Teti
    Senior Solutions Consultant
    SeeIT Solutions, LLC

    Michael,
    It was my understanding (via customer confirmation) that the returned Yield and Scrap located in the Phase tables of the BAPI_PROCORD_GET_DETAIL Bapi are the Planned Operation Yield and Scrap for that operation and not the Yield and Scrap already confirmed.  The Help documentation in the BAPI Explorer does not verify this one way or another.
    Also, after numerous attempts of trying to pull down the BAPI_PROCORDCONF_GETLIST Request/Response XML, the configuration dialog actually closed.  It tooke quite a long time to complete.  My guess is that it timed out because when I look at the BAPI structure, there was none.
    I did see the other thread prior to my submission but since that thread was referring to a JCO connection and a timeout wasn't actually confirmed on my end, I decided to creat a new one.
    Thanks,
    Michael Teti

  • Request response as xml

    I have been given an xsd file and asked to create a web service whose request/response is based on this provided xsd.
    and the requirement is to have request/response of web service in xml doc. This complete XML cannot be a sent as string.
    So, please let me know how to acheive this. i.e how to inject the required xml structure in the web service response.
    Edited by: jumst on Nov 2, 2009 2:58 AM

    jumst wrote:
    how would i pass on the request on to web service -From jaxb classes i can send the resquest in an xml doc to the web service? or how? and likewise the result ftom web service to jaxb classes?Answer of your question is XML Marshaling and Unmarshalling will be used for the above purpose.
    The Java Architecture for XML Binding (JAXB) provides a fast and convenient way to bind between XML schemas and Java representations, making it easy for Java developers to incorporate XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling XML instance documents into Java content trees, and then marshalling Java content trees back into XML instance documents. JAXB also provides a way to generate XML schema from Java objects.
    -- From [Java™ EE 5 Tutorial - Binding between XML Schema and Java Classes|http://java.sun.com/javaee/5/docs/tutorial/doc/bnazf.html]
    Other Ref:
    [JAXB Architecture|http://java.sun.com/javaee/5/docs/tutorial/doc/bnazg.html]
    [NetBeans.org - Binding WSDL to Java with JAXB|http://www.netbeans.org/kb/docs/websvc/jaxb.html]
    JAX-WS Client App                                                    JAX_WS Server App
                                                                         JAS-WS Web Service
    Consume JAX-WS Web            <--------------------------            Deployed here
    Service here using WSDL
    of the deployed Web
    Service. This is JAX-WS
    Client with all proxy and
    schema(JAXB) classes.       
    Client sends request to                                             
    server with JAXB                                                         
    classes. At the end JAX-WS                                          
    Client proxy classes will                                           
    marshal request to XML          
    and send to server.           -------------------------->            On request arrival JAX-WS Server
                                                                         classes will unmarshal incoming
                                                                         XML Request to JAXB Classes and
                                                                         invoke web service and web method.
                                                                         As web service response server
                                                                         prepares response using JAXB
                                                                         classes,and sends back to client.
                                                                         JAX-WS Web Service will marshal
                                                                         the response to XML and sends to
    Client receives XML response   <--------------------------           client.
    and JAX-WS client proxy
    classes will unmarshal the
    response to JAXB classes.
    Client app. will use these
    as response.Developing web service with JAX-WS, Server and client will do marshaling and unmarshaling of SOAP XML requests and response for you.
    Just go through tutorial given in my previous and current post. Use any good IDE to develop, I prefer NetBeans first and then Eclipse.
    Below two links will help you to build and consume a web service using NetBenas IDE.
    [Getting Started with JAX-WS Web Services|http://www.netbeans.org/kb/docs/websvc/jax-ws.html]
    [Advanced Web Service Interoperability|http://www.netbeans.org/kb/docs/websvc/wsit.html]
    Disclaimer: I am not an professional technical author so please forgive my English and Grammar.+ *:-))*
    *Cheers,
    typurohit* (Tejas Purohit)

  • I need an urgent help  remove namespace from proxyServie request body

    I have EFIBetalingOrdningMisligholdt proxyService that called IMMultiHaendelseModtag IMMultiHaendelseModtag business Service, but they have different xsd, so i am transforming EFIBetalingOrdningMisligholdt proxy service reuest xsd to
    IMMultiHaendelseModtag business service xsd.
    Bellow i have my xq file for the transformation.
    IMMultiHaendelseModtag Business Service request parameter should look like this.
    here is partial request to IMMultiHaendelseModtagBusinessService
    <soapenv:Body>
         <ns:IMMultiHændelseModtag_I      revision="string" xmlns:ns="http://skat.dk/begrebsmodel/2009/01/15/">
         <ns:Kontekst>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </ns:Kontekst>
    IMMultiHaendelseModtagBusinessService is called
    here is a partial of the transformed request
    Route to: "IMMultiHaendelseModtag"
         $outbound:
         <con:endpoint      name="BusinessService$dk.skat.efi.im$biz$IMMultiHaendelseModtag" xmlns:con="http://www.bea.com/wli/sb/context">
         <con:service>
         <con:operation>getIMMultiHændelseModtag</con:operation>
         </con:service>
         <con:transport>
         <con:mode>request-response</con:mode>
         <con:qualityOfService>best-effort</con:qualityOfService>
         <con:request      xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:headers      xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml</http:Content-Type>
         <http:SOAPAction>
         "http://skat.dk/begrebsmodel/2009/01/15/getIMMultiHændelseModtag"
         </http:SOAPAction>
         </tran:headers>
         </con:request>
         </con:transport>
         <con:security>
         <con:doOutboundWss>false</con:doOutboundWss>
         </con:security>
         </con:endpoint>
         $body (request):
         <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:EFIBetalingOrdningMisligholdt_I      revision="string" xmlns:ns="http://skat.dk/begrebsmodel/2009/01/15/">
         <ns:IMMultiHændelseModtag_I>
         <ns:HændelseSamling>
         <ns:EFIHændelseStruktur>
    but the problem this :
    <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:EFIBetalingOrdningMisligholdt_I      revision="string" xmlns:ns="http://skat.dk/begrebsmodel/2009/01/15/">
    question.
    How can I transforme :<ns:IMMultiHændelseModtag_I      revision="string" xmlns:ns="http://skat.dk/begrebsmodel/2009/01/15/"> to <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:EFIBetalingOrdningMisligholdt_I      revision="string" xmlns:ns="http://skat.dk/begrebsmodel/2009/01/15/"> ?
    declare namespace xf = "http://skat.dk/begrebsmodel/2009/01/15/";
    declare namespace ns0 = "http://skat.dk/begrebsmodel/2009/01/15/";
    declare function xf:test($eFIBetalingOrdningMisligholdt_I1 as element(ns0:EFIBetalingOrdningMisligholdt_I))
    as element(ns0:IMMultiHændelseModtag_I) {
    let $EFIBetalingOrdningMisligholdt_I := $eFIBetalingOrdningMisligholdt_I1
    return
    <ns0:IMMultiHændelseModtag_I>
    <ns0:HændelseSamling>
    <ns0:EFIHændelseStruktur>
    let $KundeStruktur := $EFIBetalingOrdningMisligholdt_I/ns0:BetalingsordningMisligholdListe/ns0:Kunde[1]/ns0:KundeStruktur
    return
    <ns0:KundeStruktur>
    <ns0:KundeNummer>{ data($KundeStruktur/ns0:KundeNummer) }</ns0:KundeNummer>
    <ns0:KundeType>{ data($KundeStruktur/ns0:KundeType) }</ns0:KundeType>
    for $VirksomhedCVRNummer in $KundeStruktur/ns0:VirksomhedCVRNummer
    return
    <ns0:VirksomhedCVRNummer>{ data($VirksomhedCVRNummer) }</ns0:VirksomhedCVRNummer>
    for $KundeNavn in $KundeStruktur/ns0:KundeNavn
    return
    <ns0:KundeNavn>{ data($KundeNavn) }</ns0:KundeNavn>
    for $DriftFormKode in $KundeStruktur/ns0:DriftFormKode
    return
    <ns0:DriftFormKode>{ data($DriftFormKode) }</ns0:DriftFormKode>
    for $EnkeltmandVirksomhedEjer in $KundeStruktur/ns0:EnkeltmandVirksomhedEjer
    return
    <ns0:EnkeltmandVirksomhedEjer>{ $EnkeltmandVirksomhedEjer/@* , $EnkeltmandVirksomhedEjer/node() }</ns0:EnkeltmandVirksomhedEjer>
    </ns0:KundeStruktur>
    <ns0:IndholdValg>
    <ns0:EFIBetalingOrdningMisligholdtStruktur>
    let $BetalingsOrdningliste := $EFIBetalingOrdningMisligholdt_I/ns0:BetalingsordningMisligholdListe/ns0:Kunde[1]/ns0:BetalingsOrdningliste
    return
    <ns0:BetalingsOrdningliste>
    for $MisligholdtBetalingsordning in $BetalingsOrdningliste/ns0:MisligholdtBetalingsordning
    return
    <ns0:MisligholdtBetalingsordning>
    <ns0:BetalingOrdningEFIIndsatsID>{ data($MisligholdtBetalingsordning/ns0:BetalingOrdningEFIIndsatsID) }</ns0:BetalingOrdningEFIIndsatsID>
    <ns0:BetalingOrdningID>{ data($MisligholdtBetalingsordning/ns0:BetalingOrdningID) }</ns0:BetalingOrdningID>
    <ns0:BetalingOrdningRateID>{ data($MisligholdtBetalingsordning/ns0:BetalingOrdningRateID) }</ns0:BetalingOrdningRateID>
    <ns0:BetalingOrdningRateSRBDato>{ data($MisligholdtBetalingsordning/ns0:BetalingOrdningRateSRBDato) }</ns0:BetalingOrdningRateSRBDato>
    <ns0:BetalingOrdningRateBeløbStruktur>{ $MisligholdtBetalingsordning/ns0:BetalingOrdningRateBeløbStruktur/@* , $MisligholdtBetalingsordning/ns0:BetalingOrdningRateBeløbStruktur/node() }</ns0:BetalingOrdningRateBeløbStruktur>
    </ns0:MisligholdtBetalingsordning>
    </ns0:BetalingsOrdningliste>
    </ns0:EFIBetalingOrdningMisligholdtStruktur>
    </ns0:IndholdValg>
    </ns0:EFIHændelseStruktur>
    </ns0:HændelseSamling>
    </ns0:IMMultiHændelseModtag_I>
    declare variable $eFIBetalingOrdningMisligholdt_I1 as element(ns0:EFIBetalingOrdningMisligholdt_I) external;
    xf:test($eFIBetalingOrdningMisligholdt_I1)
    I have called the business proxy alone it works.
    errors
    The invocation resulted in an error: .
         <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Body>
         <soapenv:Fault>
         <faultcode>soapenv:Server</faultcode>
         <faultstring>BEA-380000: Internal Server Error</faultstring>
         <detail>
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380000</con:errorCode>
         <con:reason>Internal Server Error</con:reason>
         <con:location>
         <con:node>RouteNode1</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>
         </detail>
         </soapenv:Fault>
         </soapenv:Body>
         </soapenv:Envelope>
         System Error Handler
    $fault:      
         <con:fault      xmlns:con="http://www.bea.com/wli/sb/context">
         <con:errorCode>BEA-380000</con:errorCode>
         <con:reason>Internal Server Error</con:reason>
         <con:location>
         <con:node>RouteNode1</con:node>
         <con:path>response-pipeline</con:path>
         </con:location>
         </con:fault>

    Thanks for answering.
    the situation is that I have to make a pass-trough proxyservice.
    That I have never done before.
    explanation:
    proxyservice A-calls business service B, B need password and user name, but proxyservice A does not have Process WS-Security Header to configured, so I have to create a pass-trough proxyService to call business Service B.
    What is the best way of doing that ?
    As I have read that to solve the problem one can set ./ctx:security/ctx:doOutboundWss to true, the only way I saw that was possible was by mean of xquery.
    I am trying to explaine the same situation here again:
    I have proxyService A that does not have :
    Process WS-Security Header in the configuration, that mean I can not set it in my proxy Configuration by way of normal proxy configuration.
    But A is calling a BS that need security, so I want to create a pass-trough proxyservice.
    in order to do that, I want to set ./ctx:security/ctx:doOutboundWss to true in the request
    how can I set ./ctx:security/ctx:doOutboundWss to true in xq ?
    Tks

  • WEB SERVICE + REQUEST RESPONSE TRACK

    Hello Friends,
    I have a issue, I have to consume the webservice made in .NET environment. The web service uses oasis security. so I have to set the SOAP HEADER with user name and passwrod. Unfortunately its not working. My question is , is there any way that one can track the request response... Can I see, how my request packet looks like when it reaches to server ?
    Any help will be gr8.
    Regards,

    Hi Raja,
    Okey, now I will first paste the request formate which web service is expecting, and then I will paste my code, might be you have hint for me.....
    POST /alertservice.asmx HTTP/1.1
            Host: desktopalert
            Content-Type: text/xml; charset=utf-8
            Content-Length: length
            SOAPAction: "http://service.desktopalert.net/AlertService.asmx/CreateAlert"
            <?xml version="1.0" encoding="utf-8"?>
            <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
              <soapenv:Header>
                <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                  <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-386451">
                    <wsse:Username>someuser</wsse:Username>
                    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">ILReFb7Uz57eNwgJXjj9S086aAw=</wsse:Password>
                    <wsse:Nonce>jHgxoLOr9RzHpALQRark7Q==</wsse:Nonce>
                    <wsu:Created>2007-02-11T23:34:23.027Z</wsu:Created>
                  </wsse:UsernameToken>
                  <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-24470798">
                    <wsu:Created>2007-02-11T23:34:22.996Z</wsu:Created>
                    <wsu:Expires>2007-02-11T23:39:22.996Z</wsu:Expires>
                  </wsu:Timestamp>
                </wsse:Security>
              </soapenv:Header>
              <soap:Body>
                <CreateAlert xmlns="http://service.desktopalert.net/AlertService.asmx">
                  <content>string</content>
                  <title>string</title>
                  <height>int</height>
                  <width>int</width>
                  <PublishDate>dateTime</PublishDate>
                  <ExpireDate>dateTime</ExpireDate>
                  <groupids>
                    <int>int</int>
                    <int>int</int>
                  </groupids>
                </CreateAlert>
              </soap:Body>
            </soap:Envelope>
            HTTP/1.1 200 OK
            Content-Type: text/xml; charset=utf-8
            Content-Length: length
    My code ( SOAP HEADER AND SOAP BODY ):
    CONCATENATE
    '<?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:Header>'
    '    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">'
    '      <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-11072909">'
    '        <wsse:Username>admin</wsse:Username>'
    '        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">ISMvKXpXpadDiUoOSoAfww==</wsse:Password>'
    '        <wsse:Nonce>WL4S/89uFlsVZ+Ys73fTNQ==</wsse:Nonce>'
    '        <wsu:Created>2007-03-27T14:34:23.199Z</wsu:Created>'
    '      </wsse:UsernameToken>'
    '      <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-12203633">'
    '        <wsu:Created>2007-03-27T14:34:23.184Z</wsu:Created>'
    '        <wsu:Expires>2007-03-27T14:39:23.184Z</wsu:Expires>'
    '      </wsu:Timestamp>'
    '    </wsse:Security>'
    '  </soapenv:Header>'
    '<soap:Body>'
    '   <CreateAlert xmlns="http://service.desktopalert.net/AlertService.asmx" /> '
    '    <content>teststring</content>'
    '    <title>teststring</title>'
    '    <height>300</height>'
    '    <width>300</width>'
    '    <PublishDate> 27.03.2007 16:08:18</PublishDate>'
    '    <ExpireDate>30.03.2007 10:00:18</ExpireDate>'
    '    <groupids>'
    '      <int>1</int>'
    '      <int>1</int>'
    '    </groupids>'
    '    </CreateAlert>'
    '    </soap:Body>'
    '</soapenv:Envelope>'
    INTO WF_STRING.
    And if any one of the parameter is wrong, still I am expecting that, my data reached till database, or if I am doing something wrong, then some exception, error, has to come ? right...
    Regards,

  • GET, Modify, POST XML from Web Service Requests (Webtests)

    I'm using load testing to exercise an API, so I'm creating many small webtests which mimic typical user operations.  One of my operations will be a GET of transaction data and a PUT of that same data, slightly modified.
    I'm able to capture the response from the GET in an extraction rule and resubmit to the API, the question is how to manipulate the XML so that there's a small typical edit.   What's the best way to do this?  
    I understand the nature of the web test plug-ins, as the "cartilage" around the bones of the webservice requests.  I would much rather angle towards a plugin than convert to a coded test and modify that way.  I like the normal non-coded
    test interface but I dont know that the webtest plugin nor webtest request gives me the granularity the coded webtest does.  Unfortunately, I dont like the fact I can't easily debug through the coded webtest.
    This seems like a straightforward operation. Do I understand all my options? How would you do this?

    On further review, I might have figured this out.  I misunderstood something I read online.  The web test request plug-ins can be associated with an individual service call and aren't automatically applied to all service calls in a web performance
    test collection.
    .. I can do something like this to access my captured context information and manipulate the XML via XDocument/XElement.   - This demonstrates how to get my captured {{ResponseDocument}} from the extraction rule.
        public class XmlModification : WebTestRequestPlugin
            public override void PreRequest(object sender, PreRequestEventArgs e)
                MessageBox.Show(e.WebTest.Context["ResponseDocument"].ToString());
    Difficile est tenere quae acceperis nisi exerceas

  • Javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces

    Dear all,
    First of all sorry, if this is not the right place for my question.
    I am facing some problem with the XFire Webservices. When i am trying to access the WSDL through the url. server is throwing the following exception :
    javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:143)
         org.codehaus.xfire.transport.http.XFireServlet.doGet(XFireServlet.java:107)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.jdom.Namespace.getNamespace(Namespace.java:164)
         org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:58)
         org.codehaus.xfire.aegis.type.basic.BeanType.writeSchema(BeanType.java:560)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:224)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:233)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createDocLitPart(WSDLBuilder.java:403)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createPart(WSDLBuilder.java:355)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.writeParameters(WSDLBuilder.java:509)
    cont.......
    I am not able to figure out the root cause for this. The service.xml file looks like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- START Service.xml -->
    <beans xmlns="http://xfire.codehaus.org/config/1.0">
    <!-- Construct the castor service factory by Spring -->
    <bean id="castorTypeRegistry" class="org.codehaus.xfire.castor.CastorTypeMappingRegistry"/>
    <bean id="bindingProvider" class="org.codehaus.xfire.aegis.AegisBindingProvider">
    <constructor-arg ref="castorTypeRegistry"/>
    </bean>
    <bean id="castorServiceFactory" class="org.codehaus.xfire.service.binding.ObjectServiceFactory">
    <constructor-arg index="0" ref="xfire.transportManager"/>
    <constructor-arg index="1" ref="bindingProvider"/>
    </bean>
    <service>
    <name>ReleaseManager</name>
    <namespace>ReleaseManager</namespace>
    <serviceClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManager</serviceClass>
    <implementationClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManagerImpl</implementationClass>
    <schemas>
    <schema>META-INF/schema/release-impact-worksheet-3.2.0.xsd</schema>
    </schemas>
    <style>document</style>
    <serviceFactory>#castorServiceFactory</serviceFactory>
    </service>
    </beans>
    <!-- END Service.xml-->
    The issue which i am facing is it due to the problem with the service.xml (Which i dont think so..), Or is it any thing to do with the XSD file which i am using.
    Can any body give me some guide lines for this ????
    Thanks in advance.
    Thanks and Regards,
    Manjunath.

    Any one any thoughts..
    I need to find out the solution for this as soon as possible; Not able to proceed further...
    Thanks and Regards,
    Manjunath.

  • Issue with XML namespace and Message structure

    Hi All,
    I am using Oracle SOA Suite 11.1.1.4. I have SOA web service application one-way messaging wherein I keep receiving messages from the third party. The issue I am facing is with the XML namespaces which conflicts with the third party's message structure. The details are as below.
    Our Web-service WSDL*
    <schema attributeFormDefault="unqualified" elementFormDefault="qualified"
    targetNamespace="http://amb.com/cad/RealTimeService"
    xmlns:cad="http://amb.com/cad/RealTimeService"
    xmlns:avl="http://schemas.com/asiapac/cad/datamodel/avl/1.0.0"
    xmlns:evn="http://schemas.com/asiapac/cad/datamodel/event/1.0.0"
    xmlns:uni="http://schemas.com/asiapac/cad/datamodel/unit/1.0.0"
    xmlns:dvt="http://schemas.com/asiapac/cad/datamodel/divert/1.0.0"
    xmlns:sui="http://schemas.com/asiapac/cad/datamodel/suppinfo/1.0.0"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.com/cad/datamodel/avl/1.0.0"
    schemaLocation="AvlCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/unit/1.0.0"
    schemaLocation="UnitCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/event/1.0.0"
    schemaLocation="EventCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/divert/1.0.0"
    schemaLocation="HewsCadSchema.xsd"/>
    <import namespace="http://schemas.com/cad/datamodel/suppinfo/1.0.0"
    schemaLocation="SupplementalInformationCadSchema.xsd"/>
    <element name="AvlAuxData" type="avl:AvlAuxData" nillable="true"/>
    <element name="AgencyEvent" type="evn:AgencyEvent"/>
    <element name="Diversion" type="dvt:HospitalDiversionMessage"/>
    <element name="SupplementalInformation" type="sui:SupplementalInformation"/>
    <element name="UnitDetail" type="uni:UnitDetail"/>
    </schema>
    Using SOAP UI tool a HospitalDiversionMessage Request for the above WSDL will look like*
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:real="http://amb.com/cad/RealTimeService" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*real*:Diversion>
    <ns:Action>?</ns:Action>
    <ns:Open>?</ns:Open>
    <!--Optional:-->
    <ns:Location>?</ns:Location>
    <ns:Type>?</ns:Type>
    <ns:SubType>?</ns:SubType>
    <!--Optional:-->
    <ns:ExpiryTimestamp>?</ns:ExpiryTimestamp>
    <!--Optional:-->
    <ns:Comment>?</ns:Comment>
    <!--Optional:-->
    <ns:ItemNumber>?</ns:ItemNumber>
    <!--Optional:-->
    <ns:Notifications>?</ns:Notifications>
    <ns:CreatedTerminal>?</ns:CreatedTerminal>
    <ns:CreatedTimestamp>?</ns:CreatedTimestamp>
    <!--Optional:-->
    <ns:ClosedBy>?</ns:ClosedBy>
    <!--Optional:-->
    <ns:ClosedComments>?</ns:ClosedComments>
    <!--Optional:-->
    <ns:ClosedTerminal>?</ns:ClosedTerminal>
    <!--Optional:-->
    <ns:ClosedTimestamp>?</ns:ClosedTimestamp>
    </real:Diversion>
    </soapenv:Body>
    </soapenv:Envelope>
    Now the third party sends a HospitalDiversionMessage in this format_
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="http://amb.com/cad/RealTimeService" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <ns0:Diversion>
    <ns0:Action>?</ns0:Action>
    <ns0:Open>?</ns0:Open>
    <!--Optional:-->
    <ns0:Location>?</ns0:Location>
    <ns0:Type>?</ns0:Type>
    <ns0:SubType>?</ns0:SubType>
    <!--Optional:-->
    <ns0:ExpiryTimestamp>?</ns0:ExpiryTimestamp>
    <!--Optional:-->
    <ns0:Comment>?</ns0:Comment>
    <!--Optional:-->
    <ns0:ItemNumber>?</ns0:ItemNumber>
    <!--Optional:-->
    <ns0:Notifications>?</ns0:Notifications>
    <ns0:CreatedTerminal>?</ns0:CreatedTerminal>
    <ns0:CreatedTimestamp>?</ns0:CreatedTimestamp>
    <!--Optional:-->
    <ns0:ClosedBy>?</ns0:ClosedBy>
    <!--Optional:-->
    <ns0:ClosedComments>?</ns0:ClosedComments>
    <!--Optional:-->
    <ns0:ClosedTerminal>?</ns0:ClosedTerminal>
    <!--Optional:-->
    <ns0:ClosedTimestamp>?</ns0:ClosedTimestamp>
    </ns0:Diversion>
    </soapenv:Body>
    </soapenv:Envelope>
    Questions*
    1) I cannot figure out how the SOAPUI tool or SOA substitutes "real" as the namespace prefix for the WSDL based HospitalDiversionMessage and what I need to do at my end to match the message structure as per what the third party needs.
    2) I need ns0 namespace prefix to whole of Diversion xml element. Currently it is "real" at top Diversion element and "ns" for its children
    Please suggest, I can attach the other imported XSD if need be.
    Thanks
    Edited by: user5108636 on Jun 13, 2011 6:55 PM
    Edited by: user5108636 on Jun 13, 2011 6:57 PM
    Edited by: user5108636 on Jun 13, 2011 7:02 PM

    Questions
    1) I cannot figure out how the SOAPUI tool or SOA substitutes "real" as the namespace prefix for the WSDL based HospitalDiversionMessage and what I need to do at my end to match the message structure as per what the third party needs.The xml namespace suffixes like real and ns0 are just references used by the XML Parsers. For that matter the "real" can be xyz as well.
    You dont need to make any changes as long as the xml namespace suffixes refer to the same namespace.
    If you see the first soapUI xml and the third party xml have the same namespace references and hence it is not a problem:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:real="*http://amb.com/cad/RealTimeService*" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*real*:Diversion>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0="*http://amb.com/cad/RealTimeService*" xmlns:ns="http://schemas.com/cad/datamodel/divert/1.0.0">
    <soapenv:Header/>
    <soapenv:Body>
    <*ns0*:Diversion>
    2) I need ns0 namespace prefix to whole of Diversion xml element. Currently it is "real" at top Diversion element and "ns" for its childrenBased on this, logically both the xmls represent the same xml message. And hence you dont need to make any changes.
    Please refer to the basics of xml namespaces using the following links:
    http://en.wikipedia.org/wiki/XML_namespace
    http://zvon.org/comp/r/tut-Namespace.html#Pages~Introduction
    Let us know if you still need clarification.
    Hope this helps.
    Thanks,
    Patrick

  • Error in namespace on web service response

    How does the namespace value get set in the exchangeDataResponse element in the SOAP response below? It's wrong and it's causing the error shown.
    When I look at the SOAP message weblogic is sending back I see
    <!--RESPONSE.................-->
    <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:Header>
    <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <m:exchangeDataResponse xmlns:m="http://partners.mcdata.com">
    <result xsi:type="xsd:string"><exchangeDataResult>
         <status>ERROR</status>
         <message>XML failed validation:cvc-elt.1: Cannot find the declaration of element 'shippingResponse'. Column: 252 Line: 1</message>
    </exchangeDataResult></result>
    </m:exchangeDataResponse>
    </env:Body>
    </env:Envelope>
    notice the namespace setting on the m:exchangeDataResponse element is http not https. Now look at this error message:
    [java] java.rmi.RemoteException: Runtime exception; nested exception is:
    [java] unexpected element name: expected={https://partners.mcdata.com/}exchangeDataResponse, actual={http://partners.mcdata.com}exchangeDataResponse
    [java] at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(Ljava.lang.RuntimeException;)V(StreamingSender.java:248)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:230)
    [java] at com.mcdata.websvc.riverbed.server.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:70)
    [java] at jsp_compiled.__index._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__index.java:134)
    [java] at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
    [java] at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:971)
    The namespaces don't match, but I can't find anything in the code that is setting the namespace value for the response I'm sending you.

    Peggy,
    At what stage you get this error in ERM role usage sync job? This job operates as below -
    1) based on Sync date provided it fetches roles assigned to all the users changed in given period from backend.
    2) It then gets the tcode usage for users from RAR virsaccactionusage service
    3) It fetches tcodes in a role and then calculates the usage information per role for each user.
    Can you check and provide the job history? Also check if there is any dump on the backend system against which role usage sync is done. You can also verify if there is any error in RAR  Logs.
    What support pack level are you at?
    I remember getting similar error a while back. Not able to recollect exact fix, but above information should provide some hint.
    With SP06 onwards ERM parameter "noOfUsersForUAR" is used to control user batch size for doing ERM role usage sync. Having a larger value for this parameter can sometime cause issues. You can check value for this parameter in vt_gbl_ermconfig table.
    Regards,
    Amol

  • Need to add xml tag in the request message

    Hello Experts,
    Need ur help.
    Right now i am working on the scenario Http -> to -> Proxy.
    Whatever request i am getting is not having XML tag in it, and because of that my mapping is failing.
    Can you tell me that how can i add XML tag in my request so it will not fail in Mapping?
    Need to add : <?xml version="1.0" encoding="UTF-8"?> in request.
    Thanks,
    Hetal

    HI Hetal
    Instead of adding this to the source message. Remove this tag from mapping.
    Use a XSLT mapping without this initial tag. it will work.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://namespace">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
    <xsl:template match="/">
    <xsl:for-each select="//tag">
    <xsl:value-of select="." disable-output-escaping="yes"/>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    Use this mapping without
    <?xml version="1.0" encoding="UTF-8"?>
    If you still see XML tag then use
    <xsl:output method="html"
    instead of
    <xsl:output method="xml"
    Thanks
    Gaurav

Maybe you are looking for

  • Hp8600 b/W printing issue

    When I print or copy I SELECT black unless I need color. Today I need to copy very important materials to mail, I am disabled, cannot run to the store, and I can't copy because the yellow is empty. Why is the yellow toner empty if I am selecting blac

  • Calling a method of another Object

    I have 3 panels, panelMain, panelA and panelB panelMain is the "main" panel which holds panelA and panelB. When a button is clicked in panelB, I wish to call up the a method in panelA, but I get the error "non-static method cannot be referenced froma

  • Need ipod help please windows to mac format !

    I bought a used 2gb ipod nano. When I plug it into the computer via usb, the warning sign comes on the ipod and it says to "do not disconnect" and it just stays like that. I looked on the account menu on the ipod and it shows "windows" format. I am t

  • I am having issues staying connected to wi-fi networks

    This issue just started a couple weeks ago.  Whenever I connect to a wi-fi network, I am connected for less than a minute and then am kicked off the network.  This happens no matter where I am and no matter what the wi-fi network is.  It is getting r

  • DVI plug too wide

    So.  I had a splitter DVI to VGA/DVI.  I had one end into my monitor in one room(DVI) and the other(VGA) through the wall to the back of my HDTV in the other room.  Problem, obviously was, if both were connected to the splitter, you could see the com