Issue with Webservice

Hi All,
I have created a WebService in SE80 and had done all the settings. But when I am trying to publish the Websercie using WSPULISH and I am getting the error "Exception raised during physical system publication. Code : "
Can anyone help me out with a solution.
I have gone through the blogs and checked all the configuration mentioned in them. Everything seems right.
Regards,
Kavuri.

DataControls.dcx & connections.xml (.adf/META-INF)

Similar Messages

  • Performance issues with Webservices in XI

    Hi,
    Friends,
    my issue is with the performance of webservices.how to improve performance of webservices in XI?
    We don't have any hardware issues.no big mapping or payload.webservice is actually residing in the XI server.there is a bottleneck somewhere which is hampering the performance.
    Any advice is greatly appreciated!
    Thanks and Regards,
    Pavan M.
    Chicago,US

    Hi,
    Is XI a webservice provider or consumer?
    If XI is the consumer, then you can use any SOAP client tool (there are lots of generic 3rd party soap client test tools on the internet) to execute the webservice to detemine whether it is causing performance problem.
    If XI is the provider, you can take the sender soap adapter out of the equation by using a HTTP client test tool.
    The SXI_MONITOR also provides execution time for every step in the pipeline of the XI engine.
    Regards,
    Bill

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • Issue with Webservice for HR

    This is my problem. Have been at it for a few days now and have very little hair left.
    I have a custom BAPI that wraps ENQUEUE, BAPI_ADDRESSCREATESUCCESSOR and DEQUEUE.
    Works like a charm when executed in se37. When I make a webservice out of it, it complains "Fill in all required entry fields". I have even hardcoded the values to be passed in the BAPI itself and still does it.
    Basically no matter what I do, it complains there is something missing. I enter values for every import parameter that is being passed, still no avail.
    I also tried the same thing with the DELIMIT bapi, and the same issue. I am ofcourse trying from wsnavigator to test this and always get the same error message. Have tried to set breakpoints etc - still the same error. What pisses me off is that the BAPI works from se37. Anyone have any ideas with such situations?
    Thanks.

    Hi BR,
    How are you testing the web service? Soap client?
    I had something slightly similar the other day, that was caused by a mandatory export parameter not being passed back. Maybe that's something you could check?
    Best Regards, Trevor

  • XML format Issue with Webservice

    Hi,
      Currently when I generate the XML payload in XI, it is generating as below one. But the 3rd party webservice is expecting everything in on elong big string. How can I do this in XI to convert my XML data after mapping to one long string before calling the webservice.
    Current XML Data
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:PutXMLDocument xmlns:ns1="http://test.com/SMIWebService/">
    - <XMLString>
    - <Contracts>
    - <Control>
      <createdWhen>2006-06-13T06:27:12</createdWhen>
      <destinationAddress />
      <documentGUID>e4a14426-9d02-4e2e-8a91-68fc81f1a672</documentGUID>
      <operation staticValue="Change" />
      <schemaVersion>31N</schemaVersion>
      <sourceAddress>Global</sourceAddress>
      <version>3.00</version>
      </Control>
    - <Contract>
      <contractAmount>2050.00</contractAmount>
      <contractBillingType staticValue="Per Contract" />
      <contractCurrency staticValue="United Kingdom - Pound">Constant</contractCurrency>
      <contractDataSource dynamicValue="SAP">Constant</contractDataSource>
      <contractEffectiveDate>2007-01-01</contractEffectiveDate>
      <contractExpirationDate>2007-12-31</contractExpirationDate>
      <contractIdentifier>ff27ab1e-3187-4d37-9122-24769d246c9d</contractIdentifier>
      <contractIncludeLaborIndicator>1</contractIncludeLaborIndicator>
      <contractIncludeLaborIndicatorForOther>0</contractIncludeLaborIndicatorForOther>
      <contractIncludeMaterialIndicator>1</contractIncludeMaterialIndicator>
      <contractIncludeMaterialIndicatorForOther>0</contractIncludeMaterialIndicatorForOther>
      <contractLaborDuration>0</contractLaborDuration>
      <contractLastRenewalDate>2007-11-01</contractLastRenewalDate>
      <contractMaterialDuration>0</contractMaterialDuration>
      <contractNotificationDate>2007-11-01</contractNotificationDate>
      <contractNumber>0040000189</contractNumber>
      <contractReconciliationStatus staticValue="Reconciled" />
      <contractStartDate>2007-01-01</contractStartDate>
      <contractStatus staticValue="Active" />
    - <Customer>
      <customerIdentifier>fe3ccebc-6f64-4849-95d5-0b3b84c204d6</customerIdentifier>
      </Customer>
    - <contractBusinessUnit dynamicValue="UK">
      <businessUnitDescription>United Kingdom</businessUnitDescription>
      </contractBusinessUnit>
      </Contract>
      </Contracts>
      </XMLString>
      </ns1:PutXMLDocument>
    3rd Part Expectation
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:PutXMLDocument xmlns:ns1="http://test.com/SMWebService/">
      <ns1:XMLString><Contracts><Control><createdWhen>2006-06-08T07:03:55</createdWhen><destinationAddress></destinationAddress><documentGUID>A9A5107B-45A6-43A4-8218-D72C8115C9CB</documentGUID><operation staticValue="Change"/><schemaVersion>31N</schemaVersion><sourceAddress>Global</sourceAddress><version>3.00</version></Control><Contract><contractAmount>2050.00</contractAmount><contractBillingType staticValue="Per Contract"/><contractCurrency staticValue="United Kingdom - Pound"/><contractDataSource dynamicValue="SAP"/><contractEffectiveDate>2007-01-01</contractEffectiveDate><contractExpirationDate>2007-12-31</contractExpirationDate><contractIdentifier>ADBBF61C-8188-4614-B38E-C66853BD18DF</contractIdentifier><contractIncludeLaborIndicator>1</contractIncludeLaborIndicator><contractIncludeLaborIndicatorForOther>0</contractIncludeLaborIndicatorForOther><contractIncludeMaterialIndicator>1</contractIncludeMaterialIndicator><contractIncludeMaterialIndicatorForOther>0</contractIncludeMaterialIndicatorForOther><contractLaborDuration>0</contractLaborDuration><contractLastRenewalDate>2007-11-01</contractLastRenewalDate><contractMaterialDuration>0</contractMaterialDuration><contractNotificationDate>2007-11-01</contractNotificationDate><contractNumber>0049900189</contractNumber><contractReconciliationStatus staticValue="Reconciled"/><contractStartDate>2007-01-01</contractStartDate><contractStatus staticValue="Active"/><Customer><customerIdentifier>FE3CCEBC-6F64-4849-95D5-0B3B84C204D6</customerIdentifier></Customer><contractBusinessUnit dynamicValue="UK"><businessUnitDescription>United Kingdom</businessUnitDescription></contractBusinessUnit></Contract></Contracts></ns1:XMLString>
      </ns1:PutXMLDocument>
    Thanks in advance for the help.
    Thanks
    Sri

    Hi,
    Check this Blog-
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Hope this helps,
    Regards,
    Moorthy

  • Sender SOAP Adapter issue with webservices for authorization.

    Hi All
    Issue:
    As we are developing a Web Service to fetch account balance from SAP(upon receiving the account no from client) and have given the wsdl file to J2EE application  to call or make use of the service.  But as a part of that service they expect userid/password to be entered manually from client  pop-up.  At this point of time, we don't want to enter userid/password manually but  we want this to be hardcoded/embedded in Webservice so that  there is no need of manual intervention upon calling this service.
    Actual Requirement:
    From Webservices to R/3-ECC6.0-IS-Banking-RFC (Synchronous Interface)
    Sender: SOAP Adapter synchronous
    Receiver: RFC Adapter synchronous
    Note: Requesting a account number and getting response from RFC is account Balance and Date to webservice
    Regards
    Kiran kumar.s

    Hi praveen,
    Thanks for ur  reply.What you said is exactly right but for time being i have to make the client not get the authorization(password--Username and password(pop-up)) when he invokes the WSDL into webservice for that u told that to write some hardcode in J2EE application,but i don't know that where to write and what to write.so, if possible can u give me the code and procedure.
    This is the URL:
    http://hcl3sap:50000/XISOAPAdapter/MessageServlet?channel=:BS_WEBSERVICE:CC_SOAPSENDER
    Regards,
    kiran kumar.

  • Issue with Webservice Creation using Session Beans.

    Hi All,
    I want to expose my Session beans as webservice.
    I'm using Weblogic Application Server.
    When I do the modeling using JDeveloper, I'm unable to convert the Session bean to webservice.
    Any information on this is highly appreciable.
    Thanks & Regards,
    Kumar Madhavan.

    I can't give you much of a walk through, as I have just started it myself, but I'm using a universal unique identifier to represent each client. Whenever a client posts data from a jsp or applet the uuid is also sent. I use POST to pass all my parameters. If the server hasen't received data in say 5 minutes from the client then it is assumed the client went offline. Its working for me so far.
    COn

  • Issue with WEBSERVICE- PROCESSDIALOG method

    Hi Guys,
                  I am calling WEBSERVICE->PROCESSDIALOG method in a task.
    This is listing a task in UWL in EP. When I open and process this task getting the following error.
    Page not found or Available.
    How to find out which view is called when I select the task in UWL.
    I think it will probably an WebDynpro iView.
    Cheers
    Senthil

    Hi,
         Its basically Page Not Found error in UWL.
    There are other process in the same workflow are working fine in UWL.
    I check the services in SICF, they are active.
    Is there anything I am missing in the task definition.
    Is it WebFlow Service Executed should be active at the task outcome tab.
    Cheers
    Senthil

  • Issue with displaying Unicode Characters returned by a webservice

    Hi, We are developing a mobile application which provides multi language selection (Arabic & English). but we are having an issue with displaying returned JSON which has Arabic text. The output we get is as below. Our .net client throws the following
    exception. Appreciate your kind help and thank you in advance.
    [net_WebHeaderInvalidControlChars]
    Arguments:
    Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.7.60408.0&File=System.Net.dll&Key=net_WebHeaderInvalidControlChars
    Parameter name: name”
    Returned JSON:
    https://72.44.81.184/~shababcapital/wp-json/posts?type=news&lang=ar
    Connection ? Keep-Alive
    Content-Type ? application/json; charset=UTF-8
    Date ? Fri, 27 Feb 2015 03:35:43 GMT
    Keep-Alive ? timeout=1, max=100
    Last-Modified ? Thu, 26 Feb 2015 14:43:55 GMT
    Link ? <http://72.44.81.184/~shababcapital/wp-json/posts/131>; rel="item"; title="387 Ù?اعب Ù?Ù?اعبة ضÙ?Ù? فعاÙ?Ù?ات اÙ?تدرÙ?ب اÙ?Ù?ستÙ?ر Ù?اÙ?تشاف اÙ?Ù?Ù?اÙ?ب اÙ?رÙ?اضÙ?Ø©", <http://72.44.81.184/~shababcapital/wp-json/posts/119>;
    rel="item"; title="387 Ù?اعب Ù?Ù?اعبة ضÙ?Ù? فعاÙ?Ù?ات اÙ?تدرÙ?ب اÙ?Ù?ستÙ?ر Ù?اÙ?تشاف اÙ?Ù?Ù?اÙ?ب اÙ?رÙ?اضÙ?Ø©", <http://72.44.81.184/~shababcapital/wp-json/posts/118>; rel="item";
    title="اÙ?جÙ?در Ù?ؤÙ?د استÙ?رار "اÙ?شباب Ù?اÙ?رÙ?اضة" فÙ? دعÙ? Ù?سÙ?رة اÙ?Ù?راÙ?ز اÙ?شبابÙ?Ø©", <http://72.44.81.184/~shababcapital/wp-json/posts/117>; rel="item"; title="اÙ?جÙ?در
    Ù?Ø´Ù?د بدÙ?ر اÙ?Ù?راÙ?ز اÙ?شبابÙ?Ø© فÙ? تطبÙ?Ù? رؤÙ?Ø© Ù?اصر بÙ? Ø­Ù?د فÙ? احتضاÙ? اÙ?شباب", <http://72.44.81.184/~shababcapital/wp-json/posts/55>; rel="item"; title="اÙ?جÙ?در: Ù?دفÙ?ا
    تحÙ?Ù?Ù? أفضÙ? فرص استثÙ?ارÙ?Ø© Ù?Ù?Ø£Ù?دÙ?Ø© اÙ?Ù?Ø·Ù?Ù?Ø© Ù?Ù?بارÙ? اÙ?Ù?شرÙ?ع اÙ?جدÙ?د", <http://72.44.81.184/~shababcapital/wp-json/posts/45>; rel="item"; title="اÙ?جÙ?در Ù?Ø´Ù?د بدÙ?ر
    اÙ?Ù?راÙ?ز اÙ?شبابÙ?Ø© فÙ? تطبÙ?Ù? رؤÙ?Ø© Ù?اصر بÙ? Ø­Ù?د فÙ? احتضاÙ? اÙ?شباب"
    Server ? Apache
    Transfer-Encoding ? chunked
    X-Content-Type-Options ? nosniff
    X-Pingback ? http://72.44.81.184/~shababcapital/xmlrpc.php
    X-Powered-By ? PHP/5.4.24
    X-WP-Total ? 6
    X-WP-TotalPages ? 1

    I originally downloaded it using IE and viewed the content in Fiddler.  Use this code to get the content:
    string url = "https://72.44.81.184/~shababcapital/wp-json/posts?type=news&lang=ar";
    HttpBaseProtocolFilter MyFilter = new HttpBaseProtocolFilter();
    MyFilter.IgnorableServerCertificateErrors.Add(Windows.Security.Cryptography.Certificates.ChainValidationResult.InvalidName);
    HttpClient request = new HttpClient(MyFilter);
    string response = await request.GetStringAsync(new Uri(url));
    MyContent.Text = response;
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • Issues with using utl_http with Oracle Wallet

    Hello Everyone,
    We are experimenting with Oracle wallet and utl_http and are attempting to do an https transfer and we are facing some problems. I will appreciate your help greatly if you can advise on what could be wrong. We are on db version 10.2.0.1 and Unix HP-UX. The intention ping an https url and get a simple 200 response. Future development would include get/post XML documents from that url and other interesting stuff. I understand that utl_http with Oracle wallet can be used for this purpose.
    The wallet has been created and the ewallet.p12 exists. We downloaded the SSL certificate from the url's website and uploaded into the wallet.
    Everything works if I put in a url with plain http. However, it does not work with an HTTP*S* url.
    With HTTPS when I run the below code I get the following error. Again, greatly appreciate your time and help because this is the first time we are using Oracle wallet manager and do not know where to go from here.
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-29268: HTTP client error
    declare
    url varchar2(225);
    req utl_http.req;
    resp utl_http.resp;
    my_proxy BOOLEAN;
    name varchar2(2000);
    value varchar2(2000);
    V_proxy VARCHAR2(2000);
    v_n_proxy varchar2(2000);
    v_msg varchar2(100);
    v_len PLS_INTEGER := 1000;
    BEGIN
    -- Turn off checking of status code.
    utl_http.set_response_error_check(FALSE);
    --Set proxy server
    utl_http.set_proxy('my-proxy');
    utl_http.set_wallet('file:<full Unix path to the wallet on DB server>','wallet998');
    req := utl_http.begin_request('https://service.ariba.com/service/transaction/cxml.asp');
    --Set proxy authentication
    utl_http.set_authentication(req, 'myproxyid', 'myproxypswd','Basic',TRUE); -- Use HTTP Basic
    resp := utl_http.get_response(req);
    FOR i IN 1..utl_http.get_header_count(resp) LOOP
    utl_http.get_header(resp, i, name, value);
    dbms_output.put_line(name || ': ' || value);
    END LOOP;
    utl_http.end_response(resp);
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    END;

    I tried this using plsql ...
    declare
    SOAP_URL constant varchar2(1000) := 'http://125.21.166.27/cordys/com.eibus.web.soap.Gateway.wcp?organization=o=WIPRO,cn=cordys,o=itgi.co.in';
    request      UTL_HTTP.req;
    begin
    dbms_output.put_line('Begin Request');
    request := UTL_HTTP.begin_request(SOAP_URL,'POST',UTL_HTTP.HTTP_VERSION_1_1);
    dbms_output.put_line('After Request');
    exception
    when others then
       dbms_output.put_line('Error : '||sqlerrm);
    end;The output was ...
    Begin Request
    Error : ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1029
    ORA-12535: TNS:operation timed outIt seems to be an issue with the webservice, plz check if its available & allowing requests.

  • Issue with SSL in web service.

    Hi All,
    We are having synchronous web service to proxy scenario in XI. We are trying to send a binary data using the SOAP web service to SAP via XI. Initially, we were posting large binary data using HTTP connection via XI from the SOAP client. The scenario was working without any issues.
    Since the data is sensitive changed the web service from HTTP to HTTPS.The interface works without issues when we test it using the SOAP client for testing. When the data is sent using the Dot Net application (the end application) using the same webservice, URL (HTTPS connection) the message errors out. The connection is borken and the message fails. In this scenario, XI does not even receive the message which I can make out looking into the SOAP adapter communication channel.
    The interesting fact here is the same  Dot Net application is able to connect and send smaller binary data using HTTPS connection.
    Could you please let us know if this could be the issue with HTTPS connection on XI side? I doubt it to be an issue on XI side because the adapter does not even receive any message when the scenario fails. But we used some HTTPS monitoring tools and found that the Dot Net Application receives some encrypted response from the server which the application is not able to decrypt and the handshake breaks.
    Could you please throw some inputs into this issue.
    Thanks,
    Manohar.

    Hi Manohar
    You have posted the same question with two different subject text
    anyway follow these SAP notes your problem will be short out
    Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856597&_NLANG=E
    Note 856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856599&_NLANG=E
    Note 870845 - XI 3.0 SOAP adapter SSL client certificate problem
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=916664&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=870845&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    check the OSS Note 554174 & see if it helps
    Note 645357 - SAPHTTP: SSL error
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=645357&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1150980&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    one alternative may be Restart ICM (Internet Communication Manager) .This will solve your HTTP issue
    Cheers!!!!
    Regards
    sandeep
    if helpful kindly reward points

  • Issue with Integrated Weblogic Server in JDeveloper

    Hi
    I'm using JDeveloper version: 11.1.1.7
    I'm facing issue with the Integrated Weblogic server in JDeveloper.
    When I run the server, the log says as follows:
    *** Using port 7101 ***
    D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\sdoapi.jar;D:\fmwps6\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\fmwps6\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\fmwps6\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Java\JDK16~1.0_5\lib\tools.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\fmwps6\WLSERV~1.3\server\lib\weblogic.jar;D:\fmwps6\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\fmwps6\WLSERV~1.3\server\lib\webservices.jar;D:\fmwps6\modules\ORGAPA~1.1/lib/ant-all.jar;D:\fmwps6\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\fmwps6\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\fmwps6\WLSERV~1.3\server\lib\xqrl.jar;;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\config;D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\lib\stringtemplate-2.3b6.jar
    PATH=D:\fmwps6\patch_wls1035\profiles\default\native;D:\fmwps6\patch_jdev1111\profiles\default\native;D:\fmwps6\WLSERV~1.3\server\native\win\x64;D:\fmwps6\WLSERV~1.3\server\bin;D:\fmwps6\modules\ORGAPA~1.1\bin;D:\Java\JDK16~1.0_5\jre\bin;D:\Java\JDK16~1.0_5\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;D:\ADE\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;D:\Java\jdk1.6.0_51\bin;D:\Softwares\apache-ant-1.7.1\bin;C:\Program Files (x86)\Windows Live\Shared;D:\fmwps6\WLSERV~1.3\server\native\win\x64\oci920_8
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_51"
    Java(TM) SE Runtime Environment (build 1.6.0_51-b31)
    Java HotSpot(TM) 64-Bit Server VM (build 20.51-b02, mixed mode)
    Starting WLS with line:
    D:\Java\JDK16~1.0_5\bin\java -client   -Xms768m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\fmwps6\WLSERV~1.3\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,server=y,address=49879 -Djavax.net.ssl.trustStore=D:\fmwps6\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.idc.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Dhttps.proxyHost=www-proxy.idc.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=localhost|127.0.0.1|rnaguban-in" -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Duim.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM -Dweblogic.log.Log4jLoggingEnabled_uim=true -Dlog4j.configuration_uim=loggingconfig.xml -Duim.logging.watchdog.timer=5000 -Djava.io.tmpdir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\tmp -Dweblogic.management.discover.retries=6 -DtestConfig.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\UIM\testConfig -Dsun.lang.ClassLoader.allowArraySyntax=true  -XX:-UseSSE42Intrinsics -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.authz=ACC -Xverify:none  -da -Dplatform.home=D:\fmwps6\WLSERV~1.3 -Dwls.home=D:\fmwps6\WLSERV~1.3\server -Dweblogic.home=D:\fmwps6\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\fmwps6\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1 -Djrockit.optfile=D:\fmwps6\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\fmwps6\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.oamprovider_11.1.1,D:\fmwps6\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=D:\fmwps6\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\fmwps6\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\fmwps6\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    Listening for transport dt_socket at address: 49879
    Debugger connected to local process.
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Aug 16, 2013 7:19:43 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.51-b02 from Sun Microsystems Inc.>
    <Aug 16, 2013 7:19:44 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for BUG13114768 Sat Jan 21 16:14:44 IST 2012
    WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638 >
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:19:47 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00115. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Aug 16, 2013 7:19:47 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Aug 16, 2013 7:19:56 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:20:00 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log00066. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\access.log.>
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    Aug 16, 2013 7:20:05 PM oracle.ods.virtualization.engine.util.VDELogger info
    INFO: Notification sent for Mapping config object reloaded
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Aug 16, 2013 7:20:18 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Aug 16, 2013 7:20:20 PM IST> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source InventoryTxDataSource will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
    <Aug 16, 2013 7:20:22 PM IST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "mds-commsRepository". Connections will not be tested.>
    <Aug 16, 2013 7:20:39 PM IST> <Warning> <Security> <BEA-090668> <Ignored deployment of role "Admin" for resource "type=<url>, application=DMS Application#11.1.1.1.0, contextPath=/dms, uri=/">
    <Aug 16, 2013 7:20:58 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application UIMCMWSAdapter is not versioned.>
    <Aug 16, 2013 7:21:11 PM IST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application oracle.communications.inventory is not versioned.>
    <TableBuilder> <_buildSchema> Metric table "webcache:request_filter_denied_stats" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Information" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Performance" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Server_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Reports_Servlet_Response" has no key column.  It will not be collected.
    <TableBuilder> <_buildSchema> Metric table "reports:Remote_Bridge_Elements" has no key column.  It will not be collected.
    <ConfigurationUtil> <getProperties> Could not load runtime-poms.properties
    <Aug 16, 2013 7:21:52 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection www.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:876)
      at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1229)
      at java.net.InetAddress.getAllByName0(InetAddress.java:1180)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      Truncated. see log file for complete stacktrace
    >
    <Aug 16, 2013 7:21:53 PM IST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: www-proxy.idc.oracle.com/80. Will try connection svn.terracotta.org/80 now.
    java.net.UnknownHostException: www-proxy.idc.oracle.com
      at java.net.InetAddress.getAllByName0(InetAddress.java:1184)
      at java.net.InetAddress.getAllByName(InetAddress.java:1110)
      at java.net.InetAddress.getAllByName(InetAddress.java:1046)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:309)
      at weblogic.net.http.HttpClient.openServer(HttpClient.java:414)
      Truncated. see log file for complete stacktrace
    >
    <LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.
    <AdfDiagnosticsJarsVersionDumpImpl> <dumpVersionInfo> Path of the jars version dump :D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\oracle.communications.inventory-Versions.csv
    <FeatureUtils> <_resolveFeatures> Ignoring feature-dependency on feature "AdfDvtCommon".  No such feature exists.
    Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provider-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if the ADFJspResourceProvider is not being used.
    Started: ADF Library non-ADFJspResourceProvider post-deployment
    Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 223
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320400> <The log file D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00118. Log messages will continue to be logged in D:\fmwps6\jdeveloper\system11.1.1.7.40.64.93\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Aug 16, 2013 7:22:08 PM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 14.96.8.250:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Aug 16, 2013 7:22:09 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    But it doesn't list the server while deploying the application.
    I don't see the issue in my office network. But I encounter this problem when I work at my home.
    Ideally it should show the following lines after server is started:
    DefaultServer startup time: 195467 ms.
    DefaultServer started.
    This is not happening if i run the server without network.
    How can I fix this problem?
    Thanks
    Ravi

    I see some message about a proxy. Have you checked that you can use the proxy from you network?
    If not you should turn the proxy off.
    Timo

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • Issue with provided message for WSDL of SAP PI sender interface

    Hi,
    as I am not familar with SOAP interfaces and use of WSDL by partners with WSDL generated in SAP PI there are some issues that I have with a scenario:
    1. Import of external xsd for message is done
    2. Enterprise Repository and Integration Directory objects are completely created and activated
    3. WSDL was generated from ID Sender agreement (This is PI 7.1)
    4. Partner got the WSDL
    The partner provided now some test messages by mail that I would like to test in the mapping as the message is really complex.
    But the result is strange...
    1. The header of the partner message is this:
    <XJustiz_Daten xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Grunddaten xmlns="http://www.xjustiz.de">
    (Some german words are in that example. But this doesn t matter!)
    This is different to the xml that PI generates in mapping:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:XJustiz_Daten xmlns:ns0="http://www.xjustiz.de">
       <ns0:Grunddaten>
          <ns0:Grunddaten XJustizVersion="">
    Partner defines xsi:   instead of ns0   and PI fails using this message!
    So I had to change the message header and add ns0: to all element tags and node tags of the message.
    (See for example with first node "Grunddaten").
    2. There are some mandatory nodes and elements.
    An example:
    - Rechtsform is mandatory node (1..1) with element content (mandatory 1..1)
    So it will appear in the payload like this:
                        <ns0:Rechtsform>
                                <ns0:content xmlns=""/>
                         </ns0:Rechtsform>
    But the partner provides this:
    <Rechtsform xsi:nil="true" />
    which is the next issue as PI doesn t understand as xsi is not mapped to a namespace. !
    It would be easy to use an "exist" function to solve the issue with the not provided element but this will not help
    when the node is provided with additinal information xsi:....
    Can you give any help/answer why PI is not able to handle such things.
    Thank you!
    Best regards
    Dirk

    Hello Meinhard,
    If you are the Service Owner, the sender system must use your wsdl message (WebService Definition).
    If there're other problems or the sender system can't use your message structure, in agreement with them you need to develope a different mapping.

Maybe you are looking for

  • Sorting problem in webi

    Hi All, I have a stored procedure universe. I have a requirement like to show the order how data coming from database. But at report level it get sorted. I dont want to show sorted data. when I see table values at universe I am getting order as in da

  • Why won't Outlook prevent forgotten attachments?

    Sending an email and then finding out that you forgot the attachment is an embarrassing, frustrating, and common event; and one that could be easily prevented.  Outlook scans email for spelling issues and address issues before sending.  Why can't Out

  • Don't fear the penguin...

    Ok, so I had intended to dump Vista in favor of XP for performance reasons. Turns out that Vista doesn't suck too badly after a ram upgrade, though I'm still not a huge fan. I had also tried an Ubuntu live cd and was impressed that it almost worked.

  • Problems updating the BAM database

    Hi Guys, I have an activity that runs for a long time and after executing for about 15-16 mins it causes the following exception. Did somebody else also faced this problem ever? I have tried configuring all possible timeout parameters but all in vain

  • Canon DSLR - Scrubbing Timeline CC

    iMac 27" Late 2012 OSX 10.9.2 Mavericks 3.2GHz Core i5 32GB Ram NVIDIA GeForce GTX 680MX 2048MB Premiere Pro CC Verson 7.2.1 (4) Using Murcery Playback Engine GPU Accelerated CUDA See video (no audio) http://youtu.be/inRcACsSFX8 Using Canon 5D M3 we