Handling XSD QName types in VC 7.1

VC Experts,
I'm trying to call one of the Service Registry web services (publishServiceDefinitions) but am having problems with correctly passing a value for an element with XSD type QName.  Following is a sample XML payload that works, which was generated from WSNavigator.  Notice element <qname> which has a qualified namespace.  I generated this from WSNavigator by entering the value "EricTestService" for the qname element.  This technique does not work in Visual Composer however.  The XML generated does not add the qualified namespace to the qname element.  Any help with this will be greatly appreciated.  Thanks.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://sap.com/esi/uddi/sr/api/ws/">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:publishServiceDefinitions>
         <definitions>
            <descriptions>
               <text>Update4 Service published from SR API with WSNav</text>
            </descriptions>
            <documentation>http://itdoclib.intel.com/</documentation>
            <qname xmlns:pns="http://intel.com/EH-namespace">pns:EricTestService</qname>
            <serviceDefinitionKey>
               <logicalKey>uddi:ed654420-c189-11dd-9663-0003ff2519d7</logicalKey>
               <uddiKey>uddi:ed654420-c189-11dd-9663-0003ff2519d7</uddiKey>
            </serviceDefinitionKey>
            <technicalName>EH</technicalName>
            <wsdlURL>http://galaxy-desk:50000/index.html</wsdlURL>
         </definitions>
      </ws:publishServiceDefinitions>
   </soapenv:Body>
</soapenv:Envelope>
Regards,
Brian

Hi Brian,
I've asked and Jarrod Williams from VC Solution Office came up with a work around for this issue:
"As a workaround the user should enter the qname as follows, xmlns:pns='http://intel.com/EH-namespace'>pns: EricTestService"
Hope this helps,
Shay

Similar Messages

  • BPM Error:Runtime handle of object type could not be created:CX_MERGE_SPLIT

    HI Guys...
    I am working on a RFC to HTTP scenario:
    It is a standard SAP interface ....so we created only ID objects..obviously the BPM delivered by must be correct.
    in sxmb_moni_bpe  it is throwing th following error texts:
    Runtime handle of object type could not be created
    Error executing service for node
    Exception CX_MERGE_SPLIT occured
    component mapping has returned an error
    unmodeled exception when executing service for node
    No payload found
    object FLOWITEM method EXECUTE cannot be executed
    I tested the mapping payload from sxmb_moni in IR and it is working fine.
    Receiver is an HTTP so could not able to find exactly whats happening as no thrid party tools can be installed....struck up here.
    Any iputs will be of help in this area.
    Thanx in adavance.
    Kiran

    any inputs around this plz??

  • How to handle multiple exception types in JSF 2?

    I'm trying to handle multiple exception types in JSF2, including a default error page for any unexpected exception types. The problems I'm having are:
    1) ViewExpiredException is handled only when no generic exception handler is specified
    2) "Regular" exceptions like NullPointerException are never handled
    My managed bean:
    @Named
    @SessionScoped
    public class MyController implements Serializable {
    /* A method that does nothing */
    public void doNothing() {
        //do nothing
    /* Generate a null pointer exception on purpose */
    public void generateNpe() throws NullPointerException {
        Object x = null;
        x.toString();
    My test page to generate the exception:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Test page</title>
    </h:head>
    <h:body>
        <h:form>
            <h:commandButton id="button1" value="do nothing" action="#{myController.doNothing}" />
            <h:commandButton id="button2" value="generate NPE" action="#{myController.generateNpe}" />
        </h:form>
    </h:body>
    </html>
    My web.xml:
    <!-- Redirect all NPEs to this page; this never works! -->
    <error-page>
        <exception-type>java.lang.NullPointerException</exception-type>
        <location>/error/error003.jsf</location>
    </error-page>
    <!-- Redirect all VEEs to this page; this works fine if the next section is excluded -->
    <error-page>
        <exception-type>javax.faces.application.ViewExpiredException</exception-type>
        <location>/error/error002.jsf</location>
    </error-page>
    <!-- This grabs everything, even with the previous sections defined.  If I exclude this error-page section, VEE works fine but NPE still does not get redirected -->
    <error-page>
        <exception-type>java.lang.Exception</exception-type>
        <location>/error/error001.jsf</location>
    </error-page>My questions are as follows:
    1) How can we handle "regular" java exceptions like NPE?
    2) How can we define a catch-all for unexpected exception types, while still respecting specific exception handlers for VEE, etc?
    Thanks,
    Benjamin

    Is your data model right? If you are adding in one and deleting in another it sounds to me more like a process that an entity, in which case you may revisit your data model and simplify it, add in a session bean with the process method to co-ordinate between the two.
    However, if you want to map multiple different tables within a single entity bean it is possible and just part of the mapping. How you actualyl specify it depends on which implementation you are working with.
    Cheers,
    Peter.

  • Acknowledgement handling failed for type SystemAck.

    Hi I have a scanario where i have a BPM which expects a transport acknowledgement . I have sent a message and in the MDT of the Adapter Engine the message status is seen to be successful/Delivered but when i see the Audit log it says that error occured while handling the system acknowledgement
    Acknowledgement handling failed for type SystemAck. Reason: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available. 
    Even though the message is delivered the BPM in the message monitor is still waiting for the acknowledgement with the stadtus of "Still awaiting acknowledgement". How do i make my bpm continue with the procress.
    regards
    Nilesh Taunk.

    It looks like the adapter engine don't know the url of integration server... it may be caused for serveral causes.
    Let's start check in the SLD if the Business System of XI (the BS of integration server) has a right "Pipeline URL".
    Something like <i>http://<serverName>:<port>/sap/xi/engine?type=entry</i>
    Sandro

  • Javascript error in event handler! Event Type = element [edge.2.0.0.min.js:162]

    I'm doing a little edge project (now in beta version) for my girlfriend (she hates the code), with examples of the animate() method and other functions like setInteval(), but when I run I get the following error in Chrome console:
    Javascript error in event handler! Event Type = element [edge.2.0.0.min.js:162]
    But this library is global for all projects, how is possible that trigger an error?
    Example here:
    https://app.box.com/s/m7nof4al6597gfn47jlu
    Thanks.

    you dont need to import java ease !!
    it's already included in edge animate, remove that yepnope completely your problem will gone
    Zaxist

  • Handling FORM - input type="File"...

    How can I handle the <input type="FILE"...> in a servlet, if I'd like to save this file to the server.
    HELP !
    Thanks...

    Take a quick look at servletsuite.com. They have a uploadservlet.
    Andreas

  • Handling unit output type

    Dear Team,
    requires inputs for the following points,
    1. can we able to find the GLaccount in Sales Document
    2. Please clarify what is Handling Units Output type, which all the scnario it can be used,
    Thanks and Best Regards,
    Muralidharan S

    Hi..
    1. Not possible..still In SO top menu Envornment- Analysis- A/c determination you can see the a/c det.procedure
    2. in NACE selce V6-HU and you can use 0001-output type..in VL74 u can check the prinputs
    Reg,
    JJ

  • How to handle "xsd:anyAttributes" with jaxb

    Need help for how to handling "xsd:anyAttribute" with jaxb!
    Here is part of my xml schema.
    <xsd:attributeGroup name="DataAttributes">
    <xsd:anyAttribute namespace="##local" processContents="lax"/>
    </xsd:attributeGroup>
    <xsd:element name="Data">
    <xsd:complexType>
         <xsd:attributeGroup ref="DataAttributes"/>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="MA_Verify">
    <xsd:complexType>
         <xsd:sequence>
         <xsd:element ref="Data" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
         <xsd:attributeGroup ref="verifyAttributes"/>
    </xsd:complexType>
    </xsd:element>
    I have an application which only knows the attribute names and values at runtime. (Thest attributes are string.) Therefore, I cannot define attribute names in the schema and have to use xsd:anyAttribute.
    I was able to generate all jaxb code. However, the interfaces generated for Data and DataType are basically all empty. The impl classes are empty too, since no get or set methods exist for the attribute.
    Some thoughts for handling this case, but do not know if it will work.
    (1) write some derive classes on top of the generated jaxb classes.
    (2) write customized method to handle the 'Data' element level and its attributes. Similar to parseMethod or printMethod for the javaType.
    (if there is a way)
    Can anyone give me suggestions, directions or an laternate way to handle the situation?
    Your help will be greatly appreciated.
    Ruth

    xsd:anyAttribute is not supported by JAXB.
    http://java.sun.com/xml/jaxb/users-guide/jaxb-works.html#unsupported

  • Konqueror - inode/directory, but cannot handle this file type [solved]

    After upgrading kde 4.3, konqueror error: ...inode/directory, but cannot handle this file type. I tried this link but didn't work:
    https://lists.ubuntu.com/archives/kubun … 40719.html
    EDIT:
    Requires dolphin

    " I recompile ctag with option --disable-external-sort and everything is ok ! "
    http://tech.groups.yahoo.com/group/vim/message/89321
    Last edited by robsonpeixoto (2010-11-17 18:51:57)

  • Can BPEL handle xsd:group tags?

    As far as I heard BPEL cannot handle xsd:group tags in XSD schema files.
    E.g. when validating XML documents.
    Is this true? Or do I have to enable an option to use xsd:group tags as well?
    Peter

    Has anyone got it working yet?
    In my case, I have the following sequence:
    FileAdapter -> Mediator1 -> Mediator2->DB Adapter
    I am deliberately introducing validation error in File. Isn't it correct to assume Fault framework would get triggered at Mediator1 level since we are invoking FileAdapter service?
    I am getting a strange behaviour. If I enable XSD validation at Mediator1 level, process is Faulted with no re-try option. However, if I enable XSD validation ONLY at Mediator2 level, I get Recoverable fault. There seems to be some disconnect between documentation and reality. I am using JDeveloper 11.1.1.3.0 version and SOA Suite 11g.
    Thanks,
    Amjad.

  • Map xsd complex type to existing java class without adding JAXB annotations

    Hello
    I've got a case where I should map an xsd complex type to an existing Java class without modifying that class, i.e. without adding JAXB annotations to that class.
    Is this possible somehow?
    As far as I've understood, the <javaType> declaration (adapter, parse/print methods) can only be used for xsd simple types.
    Thanks, Tom

    It should be possible to implement an XmlAdapter<...,...> which performs the required conversion between the original type and a JAXB-annotated type. Then, at the places where the original type is used, the @XmlJavaTypeAdapter annotation would be used.
    The xjc compiler supports this for xsd simple types (xjc:javaType annotation), but not for complex types.
    Any idea why this is restricted to simple types?
    Would it be possible to implement a xjc plugin which does this for complex types?
    Thanks Tom.

  • PDR/Repl.Workbench, Handle 2 Message Types for Materials

    Hi there, here in an existing landscape material data gets distributed to a couple of systems with the PDR tool. A custom message type ZMATMAS2 is being used and in UPSC01 the object type MAT is mapped to that ZMATMAS2. Now, I need to connect a new system with PDR and I would like to a new message type, say ZMATMAS_NEW. (to be independen from existing extensions, segment reductions etc.)
    What would be the best way to handle different message types for different systems in PDR / UPS?
    I thought of creating a new object type in UPSC01, e.g. ZZMAT and mapping it to my ZMATMAS_NEW. But I wouldn't know how to enhance what in the consequence of that, so that PDR / UPS works with two object types for materials.
    Any idea?
    Regards,
    Karsten

    Hello Karsten.
    that is no problem - that is what the solution was designed for.
    You have to define different UPS package types and register them recipient dependant.
    kind regards
    Marcus Wagler

  • SAP ABAP have the ability to handle complex data types

    Hi all,
                We are developing a Function Module/BAPI that is actually sending and receiving information to and from a third-party system and none of them are "complex data types".
    I have a question does SAP ABAP have the ability to handle complex data types ???

    could you give an instance of the same...& to what extent can it handle???
    we have a web service layer to handle complex data types between BAPI calls and the third party system.

  • Network.protocol-handler.external.magnet type = boolean value = true

    Associating magnet files with firefox and qbittorrent
    With firefox 3.x the following entries in about:config worked just fine.
    network.protocol-handler.app.magnet type = string value = /usr/bin/qbittorrent
    network.protocol-handler.external.magnet type = boolean value = true
    network.protocol-handler.warn-external.magnet type = boolean value = false
    With 4.0 they don't, and as far as I can see the problem is that 4.0 will not accept "network.protocol-handler.external.magnet type = boolean", because it persistently changes its type to string.
    So how do I get magnet links transferred to qbittorrent through firefox 4.0?

    I too was trying hard to get it work, and none of them was working, but then i did something accidently ended doing, what '''[email protected]''' had done certainly with a little change.
    it didn work at first then, after couple of firefox restarts it asked for application to open magnet. ''firefox 4.''
    # network.protocol-handler.app.magnet = usr/bin/azureus
    # network.protocol-handler.expose.magnet = false
    hope it helps//./

  • How to handle "byte" data type

    Hi,
    In web dynpro java project to consume a web service, I am unable to handle "byte" data type in binding wizard. It is not allowing to bind a element saying that "Context Attribute with Java Native Type BYTE cannot be selected". Please help me to resolve this.
    Thank you.
    Regards
    Bhanu.

    Hi
    you can define byte[] in golobal area, at the end of iview. 
    //@@begin others
    byte b1[];
      //@@end
                      IWDResource r;
           byte b[];
           InputStream inputStream;
         try {
              inputStream = r.read(true);
                int x = inputStream.read(b);
         } catch (IOException e) {
              e.printStackTrace();
    Regards
    Anup

Maybe you are looking for

  • Accounts Payable Trial Balance Report

    My client would like to modify the seeded AP trial balance templates. Rather than starting from scratch, I would like to take a copy of the existing aptbrpt04.rtf template and create a new one based on it. My problem is that when I download the templ

  • How do I unmerge my husband's phone from mine since the last update?

    My husband and I use  my iCloud account on our iPhones, but since the last update the messages are merged. How do I unmerge them? I am now getting copied on the texts getting sent to his phone and if I text him it shows up on my phone.

  • Changing slide size in Cap 5 handouts?

    Hi, I have published Cap 5 projects as handouts, both with and without tables. Without the tables, I can only get one slide per page--but if I include tables, the slides shrink dramatically (even if I only select 2 slides per page). I have looked at

  • GTX670 need updated BIOS please.

    Hi, I was wondering if there's an updated vbios for my 670GTX's. Reason being is I have ran Sisoft Sandra and ALLBENCHMARK and they are saying there should be. Here's a link to my vbios on all 3 cards. Its the same for the 3 video cards I have. I was

  • Account  455150 require as assignment to a Co object

    Dear Expert, when i do the Release GR Bloked stock with the Reffrance off Material Document in MIGO at that  time system give Error 1.     Account  455150 require as assignment to a Co object. Thanks in advance. Regards Mahendra.