Web Service XMLA non WS-I compliant

I tried to create a J2ME application using web service XMLA  but when I tried to generate the client stub with SUN Wireless Toolkit 2.2 an error occured:
"The web service is not WS-I compliant"
XMLA is not WS-I compliant ?
XMLA not support J2ME ?

Hey Monica,
This is actually pretty easy. In the code, I'm converting an xml output to html. If you want the xml output directly, the soap response is an xml file.
Therefore below is the code to alert out the xml file. Just as a matter of curiosity, what specifically are you trying to do with the xml file?
// Execute the SOAP request
objXMLHTTP.setRequestHeader ("SOAPAction", action);
objXMLHTTP.setRequestHeader ("Content-Type", "text/xml");
objXMLHTTP.send(SOAPEnvelope);
if (objXMLHTTP.status != 200)
SOAPResponse.innerHTML = objXMLHTTP.responseText;
else
// Show SOAP Response
objXMLDOM.loadXML(objXMLHTTP.responseXML.xml);
// Translate SOAP Response to HTML and show HTML
//Comment out the following line:
//LoadXSL( xsl, HTMLResponse);
//alert out xml file...
alert(objXMLHTTP.responseXML.xml);

Similar Messages

  • Calling web-service from non-SAP client

    Hi,
    Could anyone here help me with the code with which we can call the non-SAP service in java from a java client.
    I have the wsdl and service deployed on the server.
    Regards,
    Manoj

    Hi Eduardo,
    We are trying to consume a non-SAP webservice (https based) which uses a certificate issued by the non-SAP web service provider for authentication.
    We tried consuming the web service using the Web Dynpro Java's Adaptive WebService Model method. We configured the Logical Destinations with X.509 client certificate authentication and have added the certificate to the WebServicesSecurity keystore.
    However, when we run the application, we get the 'Peer certificate rejected by ChainVerifier' error.
    Could you guide us on how to resolve the same ? If possible would you also provide the step-by-step details of how to create the EJB application that you did to achine this ?
    Any help is greatly appreciated.
    Thanks.
    Melwyn.

  • Consuming ABAP Web Service in Non SAP system

    Hi
    I have created an ABAP web service form the RFC and configured it in the SOAMANAGER. I have tested it in Web Service Navigator using the URL and it is working fine.
    Now I am trying to access it from the Non SAP system using Java Code. I am able to access the WSDL using the URL from the step 1 but not able to receive any output when providing inputs.
    So I am not sure if I am missing any configuration on the Provider System (SAP) or on the Consumer system (Non SAP) to access the web service. As far I have not configured anything on the consumer system. Please let me know how to consume the web service in the Non SAP system.
    Thank you,
    Rohit

    not necessarily an answer to your question, but i find that when creating SAP web services, before we create the code for consuming them, I always test them with the SOAPUI package. with this test suite you can import the WSDL, and run individual tests, seeing the input, output, exceptions, etc. This is a good way to check the connection, the flow and the service logic, before writing any code. This will also let you know whether it is a WS issue, or an issue with your code.
    just a thought, from someone who has been there...
    http://www.soapui.org is where you can find the SOAPUI. It helped me out a lot.
    Dave

  • Accessing external web service with non-constant URL

    Hello, all
    I am looking in the documentation on accessing external web services, but either I am looking in the wrong place, or the documentatoin is lacking info.
    My clients have several web services in the local network (regular services, not DB-based), the have the same interface, but different URL's.
    Versions of the DB are 11, 12, and 16.
    First of all, I do not see in the specs an option for a non-hardcoded URL. The logic says that this has to be possible, but I cannot find it.
    Second, I need to see an example of accessing an XML or JSon based service, I cannot find it in the specs either.
    Can anyone point me to a document with examples?
    Thank you
    Arcady

    The following will call a web service with whatever URL you pass in as the argument "myurl".  I think that is what you are looking for.
    CREATE PROCEDURE cli_test2( myurl LONG VARCHAR )
    RESULT( httpheaders long varchar, httpvalues long varchars
    URL '!myurl'
    To deal with the resulting data in XML, use the OPENXML() function.
    eg. To turn an XML list of employees that looks like this:
    <root>
    <row EmployeeID="102" Surname="Whitney" GivenName="Fran" StartDate="1984-08-28"/>
    </root>
    into a table of results, you would do this (where xmlgetemplist() is the web service call):
    CREATE OR REPLACE PROCEDURE xmlgetemplist() RESULT( httpheader long varchar, httpbody long varchar)
    URL 'http://localhost/demo/xmlEmployeeList'
    TYPE 'HTTP:GET';
    create variable res long varchar;
    -- call the web service
    select httpbody into res from xmlgetemplist() where httpheader = 'Body'
    -- extract the XML elements into a SQL result set
    select * from openXML( res, '/root/row' ) WITH ( EmployeeID INT '@EmployeeID',
           GivenName    CHAR(20) '@GivenName',
           Surname      CHAR(20) '@Surname',
           PhoneNumber  CHAR(10) '@Phone');
    To deal with the resulting data in JSON, use the sp_parse_json() procedure.
    eg.
    To turn a JSON formatted list of employees that looks like this:
    "EmployeeID": 102,
    "Surname": "Whitney",
    "GivenName": "Fran",
    "StartDate": "1984-08-28",
    "TerminationDate": null
    into a table of results, you would do this (where jsongetemplist() is the web service call):
    CREATE OR REPLACE PROCEDURE jsongetemplist() RESULT( httpheader long varchar, httpbody long varchar)
    URL 'http://localhost/demo/jsonEmployeeList'
    TYPE 'HTTP:GET';
    create variable foo long varchar;
    --call the webservice
    select httpbody into foo from jsongetemplist() where httpheader = 'Body';
    --turn the json result into a structured array of data
    -- this step is required because of less structured nature of JSON
    call sp_parse_json( 'output_array', foo);
    --extract the JSON elements from the output array into a SQL result set
    SELECT  output_array[[row_num]].EmployeeID as EmployeeID,
                   output_array[[row_num]].SurName as SurName,
                   output_array[[row_num]].GivenName as GivenName,
                   output_array[[row_num]].StartDate as StartDate,
                   output_array[[row_num]].TerminationDate as EndDate
    FROM sa_rowgenerator(1, CARDINALITY(output_array))
    Hope this helps,
    --Jason

  • Web Service - XMLA - question

    Hi Experts,
    based on Prakash Darji's blog I made XMLA working in development environment.
    In prakash's code we can see out put in HTML format. Due to following code.
    // Execute the SOAP request
         objXMLHTTP.setRequestHeader ("SOAPAction", action);
         objXMLHTTP.setRequestHeader ("Content-Type", "text/xml");
         objXMLHTTP.send(SOAPEnvelope);
         if (objXMLHTTP.status != 200)
              SOAPResponse.innerHTML = objXMLHTTP.responseText;
         else
              // Show SOAP Response          
              objXMLDOM.loadXML(objXMLHTTP.responseXML.xml);     
              // Translate SOAP Response to HTML and show HTML
              LoadXSL( xsl, HTMLResponse);               
    But I dont want to convert SOAP Response into HTML...but I want XML file (also if possible to see the xml file as output of code)....Can any body suggest me changes in the code so that I can get XML file,...also the location of XML file...I am running this file from my desktop.
    Any inputs are most valued will be rewarded.
    Monica

    Hey Monica,
    This is actually pretty easy. In the code, I'm converting an xml output to html. If you want the xml output directly, the soap response is an xml file.
    Therefore below is the code to alert out the xml file. Just as a matter of curiosity, what specifically are you trying to do with the xml file?
    // Execute the SOAP request
    objXMLHTTP.setRequestHeader ("SOAPAction", action);
    objXMLHTTP.setRequestHeader ("Content-Type", "text/xml");
    objXMLHTTP.send(SOAPEnvelope);
    if (objXMLHTTP.status != 200)
    SOAPResponse.innerHTML = objXMLHTTP.responseText;
    else
    // Show SOAP Response
    objXMLDOM.loadXML(objXMLHTTP.responseXML.xml);
    // Translate SOAP Response to HTML and show HTML
    //Comment out the following line:
    //LoadXSL( xsl, HTMLResponse);
    //alert out xml file...
    alert(objXMLHTTP.responseXML.xml);

  • Web Service Call From Consumer Proxy in ABAP: Security Settings

    Hello All,
    Have a couple of questions:
    We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, we receive an error message "Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.". We suspect that this is a problem with the SOAP Header, which might be missing some tags, which are required by the Web Service. Problem is, we can not trace the Web Service SOAP Header. We can not see it in SOAMANAGER, or any other transaction as such.
    1. Does any body have an idea where to look for the complete SOAP Request, in case of a Consumer Proxy call?
    2. After re-configuring the Logical Port in SOAMANAGER, our scenario is now stuck at an error which says: 'SoapFaultCode:1  Security requirements are not satisfied because the security header is not present in the incoming message.'. This is probably happening because the target web service is WSE 3.0 compliant, and hence it is asking for UsernameToken and TimeStamp attributes in SOAP Header. In SOAMANAGER Logical Port configuration, we do not see a placeholder for providing this information. However, in earlier LPCONFIG transaction, there was a field for providing WS Security Profile for Operations. Where does this config lie in SOAMANAGER?
    Awaiting Replies.
    Thanks and Regards,
    Sid

    Hi Sid,
    The setting username/password in the manual logical port configuration will send the username and password in the http header as basic authentication. That's why you don't see a security header.
    To configure usernametoken you have to create the logical port out of a WSDL. This WSDL needs to contain WS-Security Policies . So in the policy section of the WSDL you see an XML element called UsernameToken.
    In order to let .Net generate a compatible WSDL you have to configure your WCF Web Service to use a CustomBinding with authentication "UsernameOverTransport". This is a username token in the security header send over SSL. So therefore you need an HTTPSTransport (instead of HTTPTransport) in the binding of your .Net WCF endpoint as well.
    For an example of such a WCF service configuration see my comment on http://weblogs.sdn.sap.com/cs/user/view/cs_msg/59671.
    Regards,
    Mathias

  • BW 3.5 Query view web service

    I am trying to activate the BW 3.5 Web Service for Accessing Query Data as per the link given below:
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/3bfc3f8fc2c542e10000000a1550b0/content.htm
    I was able to release the service when I try to chk and save an error message is displayed 'No ICF service found (URL_NO_HANDLER)'. I went to SICF and checked the URL tree  /sap/bw/xml/soap/queryview, and no service was created for queryview. Should I manually create the queryview service, is so which handler should be used for this service. Any suggestions??
    Thanks.

    Hi,  Thanks for your response back..  I'm trying to "Consume" the queryview web service via non sap system.  I'd like to access the query results via a web link and have XML Query results returned.
    http://<BWserver>.domain.com:<port>/sap/bw/xml/soap/queryview?sap-client=142&wsdl=1.1
    after adding
    &infoprovider=<infoprovider>&query=<queryid> to the end of the template you provided I get some xml returned, but it doesn't contain any query results.  Any idea what I have to do to get the xml results?
    Here's the summarized XML
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="urn:sap-com:document:sap:rfc:functions" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    + <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char132">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="132" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char22">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="22" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char250">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="250" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char30">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="30" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char40">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char60">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="60" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char70">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="char8">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="cuky5">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="5" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="numeric6">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="6" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:simpleType name="unit3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:schema>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified" xmlns:n0="urn:sap-com:document:sap:rfc:functions">
      <xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
    + <xsd:simpleType name="RfcException.Message.Number">
    + <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    + <xsd:complexType name="W3query">
    - <xsd:sequence>
      <xsd:element name="Name" type="n0:char30" />
      <xsd:element name="Value" type="n0:char250" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisData">
    - <xsd:sequence>
      <xsd:element name="Axis" type="n0:numeric3" />
      <xsd:element name="Set" type="tns:RrwsTxSet" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxTuple">
    - <xsd:sequence>
      <xsd:element name="TupleOrdinal" type="n0:numeric6" />
      <xsd:element name="Chanm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chavl" type="n0:char60" />
      <xsd:element name="ChavlExt" type="n0:char70" />
      <xsd:element name="Niobjnm" type="n0:char30" />
      <xsd:element name="Tlevel" type="n0:numeric2" />
      <xsd:element name="Drillstate" type="n0:char1" />
      <xsd:element name="Opt" type="n0:char2" />
      <xsd:element name="Sign" type="n0:char1" />
      <xsd:element name="Attributes" type="tns:RrwsTAttributes" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSAttributes">
    - <xsd:sequence>
      <xsd:element name="Attrinm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Attrivl" type="n0:char60" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisInfo">
    - <xsd:sequence>
      <xsd:element name="Axis" type="n0:numeric3" />
      <xsd:element name="Nchars" type="xsd:int" />
      <xsd:element name="Ncoords" type="xsd:int" />
      <xsd:element name="Chars" type="tns:RrwsThxAxisChars" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSxAxisChars">
    - <xsd:sequence>
      <xsd:element name="Chanm" type="n0:char30" />
      <xsd:element name="Hienm" type="n0:char30" />
      <xsd:element name="Version" type="n0:char3" />
      <xsd:element name="Dateto" type="n0:date" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chaprsnt" type="n0:char1" />
      <xsd:element name="Chatyp" type="n0:numeric1" />
      <xsd:element name="Attrinm" type="tns:RrwsTAttrinm" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSAttrinm">
    - <xsd:sequence>
      <xsd:element name="Attrinm" type="n0:char30" />
      <xsd:element name="Caption" type="n0:char60" />
      <xsd:element name="Chaprsnt" type="n0:char1" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSCell">
    - <xsd:sequence>
      <xsd:element name="CellOrdinal" type="n0:numeric6" />
      <xsd:element name="Value" type="n0:char22" />
      <xsd:element name="FormattedValue" type="n0:char40" />
      <xsd:element name="ValueType" type="n0:char1" />
      <xsd:element name="Currency" type="n0:cuky5" />
      <xsd:element name="Unit" type="n0:unit3" />
      <xsd:element name="Mwkz" type="n0:char1" />
      <xsd:element name="NumScale" type="n0:char1" />
      <xsd:element name="NumPrec" type="n0:char1" />
      <xsd:element name="CellStatus" type="n0:char1" />
      <xsd:element name="BackColor" type="n0:char8" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsSTextSymbols">
    - <xsd:sequence>
      <xsd:element name="SymType" type="n0:char1" />
      <xsd:element name="SymTimedep" type="n0:char1" />
      <xsd:element name="SymName" type="n0:char40" />
      <xsd:element name="SymFs" type="n0:numeric2" />
      <xsd:element name="SymBeginGroup" type="n0:char1" />
      <xsd:element name="SymCaption" type="n0:char60" />
      <xsd:element name="SymValueType" type="n0:char2" />
      <xsd:element name="SymValue" type="n0:char132" />
      <xsd:element name="SymOutputlen" type="n0:numeric6" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RfcException.Message">
    - <xsd:sequence>
      <xsd:element name="ID" type="xsd:string" />
      <xsd:element name="Number" type="tns:RfcException.Message.Number" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="GetQueryViewData.RfcException">
    - <xsd:sequence>
      <xsd:element name="Name" type="tns:GetQueryViewData.RfcExceptions" />
      <xsd:element name="Text" minOccurs="0" type="xsd:string" />
      <xsd:element name="Message" minOccurs="0" type="tns:RfcException.Message" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="Rrxw3tquery">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:W3query" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisData">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisData" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTxSet">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxTuple" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTAttributes">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSAttributes" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisInfo">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisInfo" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsThxAxisChars">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSxAxisChars" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTAttrinm">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSAttrinm" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTCell">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSCell" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:complexType name="RrwsTTextSymbols">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:RrwsSTextSymbols" />
      </xsd:sequence>
      </xsd:complexType>
    + <xsd:simpleType name="GetQueryViewData.RfcExceptions">
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="Abort" />
      <xsd:enumeration value="InvalidInput" />
      <xsd:enumeration value="InvalidVariableValues" />
      <xsd:enumeration value="InvalidView" />
      <xsd:enumeration value="NoApplicableData" />
      <xsd:enumeration value="NoAuthority" />
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:element name="GetQueryViewData.Exception" type="tns:GetQueryViewData.RfcException" />
    + <xsd:element name="GetQueryViewData">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="Infoprovider" minOccurs="0" type="n0:char30" />
      <xsd:element name="Parameter" minOccurs="0" type="tns:Rrxw3tquery" />
      <xsd:element name="Query" minOccurs="0" type="n0:char30" />
      <xsd:element name="ViewId" minOccurs="0" type="n0:char30" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    + <xsd:element name="GetQueryViewDataResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="AxisData" type="tns:RrwsThxAxisData" />
      <xsd:element name="AxisInfo" type="tns:RrwsThxAxisInfo" />
      <xsd:element name="CellData" type="tns:RrwsTCell" />
      <xsd:element name="TextSymbols" type="tns:RrwsTTextSymbols" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    + <wsdl:message name="GetQueryViewData">
      <wsdl:part name="parameters" element="tns:GetQueryViewData" />
      </wsdl:message>
    + <wsdl:message name="GetQueryViewDataResponse">
      <wsdl:part name="parameters" element="tns:GetQueryViewDataResponse" />
      </wsdl:message>
    + <wsdl:message name="exception00">
      <wsdl:part name="exception00" element="tns:GetQueryViewData.Exception" />
      </wsdl:message>
    + <wsdl:portType name="query_view_data">
    + <wsdl:operation name="GetQueryViewData">
      <wsdl:input message="tns:GetQueryViewData" />
      <wsdl:output message="tns:GetQueryViewDataResponse" />
      <wsdl:fault name="exception00" message="tns:exception00" />
      </wsdl:operation>
      </wsdl:portType>
    + <wsdl:binding name="query_view_dataSoapBinding" type="tns:query_view_data">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetQueryViewData">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="exception00">
      <soap:fault name="exception00" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    + <wsdl:service name="query_view_dataService">
    - <wsdl:port name="query_view_dataSoapBinding" binding="tns:query_view_dataSoapBinding">
      <soap:address location="http://sdhpbwa1.gdc.mycompany.com:8023/sap/bw/xml/soap/queryview?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

  • WebDynpro External Web Service Model

    I am writing an application in web dynpro which uses web service model. In that model there are lot of complex data types.
    External webservice i am using is
    http://arcweb.esri.com/services/v2/MapImage.wsdl
    I am facing couple of problems.
    1.
    If the webservice is having overloaded methods,it is generating error for the second overloaded method.The stub file itself contains statment as follow:
    Response = new();
    2.
    While calling the methods there are some default values which are needed to be assigned to elements. So i am not binding such elements to any UI. I have created a context in a Component and liked with the web model. In woInit() method of the controller i am initializing request and binding it to the model. After that i am assigning the default values to some of the elements as follow for eg.
    Request_xyz req = new Request_xyz();
    wdCOntext.nodeRequest_xyz.bind(req);
    req.setx("x");
    XYZ x = new XYZ();
    x.setT1("t1");
    x.setT2{"t2");
    req.setXYZ(x);
    When i send the request what i observed that the values for the complex type XYZ is passing as null in the stub.
    but the values of req.setx("x") is available.
    Can you help me in this as it seems the problem with the serialization?
    3.The function which I am trying to access needs some Complex data type array. When i checked the SOAP request i found that the namespace for the array type is getting blank values. Because of which SOAP response is giving exception.
    The SOAP request is as below. For the <maker> which is an array ,the xmlns:tns='' is generated.
    <mapImageOptions xsi:type='tns:MapImageOptions' xmlns:tns='http://www.themindelectric.com/package/com.esri.is.services.glue.v2.mapimage/'>
    <dataSource xsi:type='xs:string'>GDT.Streets.US</dataSource>
    <mapImageSize xsi:type='tns:MapImageSize'><width xsi:type='xs:int'>380</width><height xsi:type='xs:int'>500</height></mapImageSize>
    <mapImageFormat xsi:type='xs:string'>gif</mapImageFormat>
    <backgroundColor xsi:type='xs:string'>255,255,255</backgroundColor>
    <outputCoordSys xsi:type='tns:CoordinateSystem' xmlns:tns='http://www.themindelectric.com/package/com.esri.is.services.common.v2.geom/'>
    <projection xsi:type='xs:string'>4269</projection>
    <datumTransformation xsi:type='xs:string'>dx</datumTransformation>
    </outputCoordSys>
    <drawScaleBar xsi:type='xs:boolean'>false</drawScaleBar>
    <scaleBarPixelLocation xsi:nil='true' xsi:type='tns:PixelCoord'></scaleBarPixelLocation>
    <returnLegend xsi:type='xs:boolean'>false</returnLegend>
    [b<u>]<markers ns2:arrayType='tns:MarkerDescription[1]' xmlns:tns='' xmlns:ns2='http://schemas.xmlsoap.org/soap/encoding/'></u></b><item xsi:type='tns:MarkerDescription'><name xsi:type='xs:string'></name>
    <iconDataSource xsi:type='xs:string'></iconDataSource><color xsi:type='xs:string'></color>
    <label xsi:type='xs:string'></label>
    <labelDescription xsi:nil='true' xsi:type='tns:LabelDescription'>
    </labelDescription><location xsi:type='tns:Point' xmlns:tns='http://www.themindelectric.com/package/com.esri.is.services.common.v2.geom/'>
    <x xsi:type='xs:double'>33.67</x><y xsi:type='xs:double'>39.44</y>
    <coordinateSystem xsi:type='tns:CoordinateSystem'>
    <projection xsi:type='xs:string'>4269</projection>
    <datumTransformation xsi:type='xs:string'>dx</datumTransformation>
    </coordinateSystem></location></item>
    </markers><lines xsi:nil='true'>
    </lines><polygons xsi:nil='true'></polygons><circles xsi:nil='true'></circles><displayLayers xsi:nil='true'></displayLayers>
    </mapImageOptions>
    Thanks,
    Mital.

    Hi Mital,
    I believe that overloaded methods in web services are not WS-I compliant therefore I would caution you against using them.
    All the Best
    Peter

  • Web services question

    Hi!
    I am a bit confused about using web services with custom classes.
    I read it's a bad idea to use for example ResultSet as return type for a web service since non-java client implementations would not work and that the correct way is to create a Bean with setter and getter methods. Why is that? I thought that a good web services stack implementation (like Axis) would for example decompose the service in primitive datatypes thus allowing to use whatever class I wanted as a return type...
    Thx,
    A.

    You are correct.
    What is confusing is that the OEM deployment option combines the deployment of the Web services ear file with the registration in the UDDI registry. So, if you haven't installed the infrastructure database with its UDDI Registry the OEM console deployment will not work due to this coupling.
    However, you still can deploy your Web service, and in fact, you can deploy it independent of the UDDI Registry and then, later register in the UDDI registry too. Here's how:
    1. Rather than using OEM to deploy the Web service ear file, use DCMCTL, e.g.
    dcmctl deployApplication -file <your ear file>.ear -a <your ear file app name>
    If your Web service is built on top of an EJB, OEM will happily deploy that before you do the
    associated Web service ear file.
    2. The UDDI Registry once installed also has a standalone JSP user interface independent of OEM that lets you inquire and publish to it. In fact, OTN will soon be having a live UDDI registry using this UI in a number of weeks.
    Finally, for those not using Oracle9iAS but OC4J stand-alone, the standard:
    java -jar admin.jar ormi://127.0.0.1:23791 <admin account> <password> -deploy ...
    commands work fine for Web service ear files.
    Mike.

  • Web Service navigator - external service

    Shuld the web service navigator be able to test external web services? (i.e. 3rd party external web services available from companies like Xignite, StrikIron etc..)
    I have tried but with no success. We have WSDL and can test with other web service tools (non-SAP), but seems tools within portal have trouble.
    Is there some type of configuration that is necessary to allow this?

    Hi,
    if you are getting an error like
    Cannot download WSDL from http://host:port/wisd/XXXX/XXXXXXXX/wsdl/YYYYYY.wsdl: It is not allowed to access this service. If you believe you should be able to, please contact your system administrator
    then Please
    - Open Visual Administrator of Portal
    - Server > Services > Web Services Container
    - Under Runtime TAB, please enter * (star) in the WEb Service Navigator White List > Allowed Hosts
    After, try again
    more info at: http://help.sap.com/saphelp_nw04s/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/frameset.htm

  • Calling SAP ME web services with out reference names

    Hello,
    When calling SAP ME web services from non SAP clients, is there a way the users can by pass the reference names? Just pass SFC details instead of SFCREF.
    example:- Data collection web service expects SFCRef:- SFCBO:<SITE>,<SFC> rather than that, what we are expecting is just pass SFC name and get response from ME.
    -Adarsha.K.S

    Hi Adarsha,
    ME always accepts references only.you can do this in two ways,
    1. Form a string with respective business object + site + object and pass.(ex: SFCBO:<SITE>,<SFC>) and then pass as reference.
    2. through SOAP UI request XML. ex:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
       <soapenv:Header/>
       <soapenv:Body>
         <ParametricRequest_sync xmlns="http://sap.com/xi/ME">
      <ParametricRequest>
      <SiteRef>
      <Site>SITE1</Site>
      </SiteRef>
      <me:SfcRef>
      <me:Sfc>SFC1</me:Sfc>
      </me:SfcRef>
       <DcGroupRef>
      <DcGroup>ABC</DcGroup>
      <Revision>A</Revision>
      </DcGroupRef>
      <ParametricMeasure>
      <MeasureGroup>ABC</MeasureGroup>
      <MeasureName>PARAM1</MeasureName>
      <Actual>1</Actual>
        </ParametricMeasure>
      <ResourceRef>
      <Resource>RESOURCE1</Resource>
      </ResourceRef>
      <me:OperationRef>
                    <me:Operation>OPERATION1</me:Operation>
                    <me:Revision>A</me:Revision>
            </me:OperationRef>
      </ParametricRequest>
      </ParametricRequest_sync>
       </soapenv:Body>
    </soapenv:Envelope>
    hope this helps.

  • JAXM and a non Java Web Service Client

    How can I acces a web service buit using JAXM with a client written using other technology?
    Where do I have to send the SOAP message from the client?
    I saw that JAXM optains the messeage from the HttpRequest! How do I put the SOAP message there?
    Thanks

    if you are not taking advantage of asynchronous messaging via a messaging provider, but want a standard web service that speaks to non java clients then JAX-RPC should be the API of your choice. It is simpler then JAXM and more standard compliant.
    If you want to do asynchronous messaging your client has to have some kind of messaging provider, too, to be able to continously listen to messages. Then the SOAP messages are then exchanged between the two message providers who both in turn notify onMessage the relevant application (message consumer).
    I hope this helps you solve your problem ;-)

  • OWSM 10.1.3.4 and Non-SOAP XML-based web service

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to send non-latin unicode characters from Flex application to a web service?

    Hi,
    I am creating an XML containing data entered by user into a TextInput. The XML is sent then to HTTPService.
    I've tried this
    var xml : XML = <title>{_title}</title>;
    and this
    var xml : XML = new XML("<title>" + _title + "</title>");
    _title variable is filled with string taken from TextInput.
    When user enters non-latin characters (e.g. russian) the web service responds that XML contains characters that are not UTF-8.
    I run a sniffer and found that non-printable characters are sent to the web service like
    <title>����</title>
    How can I encode non-latin characters to UTF-8?
    I have an idea to use ByteArray and pair of functions readMultiByte / writeMultiByte (to write in current character set and read UTF-8) but I need to determine the current character set Flex (or TextInput) is using.
    Can anyone help convert the characters?
    Thanks in advance,
    best regards,
    Sergey.

    Found tha answer myself: set System.useCodePage to false

  • Error when adding BI XMLA service as a web service in Visual Studio

    I have Visual Studio 2003 and I am trying to add the XMLA web service via a URL using Add Web reference.
    Visual Studio is able to locate the service and methods but I also  get the following error message. Can anyone help with this issue. Thanks in advance for your assistance.
    message in left panel indicates it found the methods
    "MsXmlAnalysis" Description
    Methods
    Discover ( RequestType As string ,  Restrictions As ,  Properties As )
    Execute ( Command As ,  Properties As PropertiesType )
    actual error message in right panel
    There was an error downloading 'http://bid01.citus.sharp.com:8000/sap/bw/xml/soap/xmla?sap-client=100'.
    The request failed with the error message:
    Moved Temporarily !DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"

    Hi,
    Thanks for posting here.
    Upgrading Web and Business Databases
    Upgrading Web or Business databases to a new service tier/performance level does not take the database offline. The database will continue to work through the upgrade operation. At the time of the actual transition to the new performance level temporary
    dropping of the connections to the database can happen for a very small duration (typically measured in seconds). If an application has transient fault handling for connection terminations then it is sufficient to protect against dropped connections at the
    end of the upgrade.
    Upgrading a Web or Business database to a new service tier involves the following steps:
    Determine service tier based on feature capability
    Determine an acceptable performance level based on historical resource usage
    Why does existing performance for my Web or Business database map to the higher Premium levels?
    Tuning your workload to fit a lower performance level
    Upgrade to the new service tier/performance level
    Monitor the upgrade to the new service tier/performance level
    Monitor the database after the upgrade
    Refer:
    http://azure.microsoft.com/en-us/documentation/articles/sql-database-upgrade-new-service-tiers/
    https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx
    Hope this helps you.
    Girish Prajwal

Maybe you are looking for