Web Service WLS9.2 and WLS6.1 SOAP compatibility

We have a Web Service (running on WLS6.1) which has been published for a long time, and many customers have developed their own clients.
Now we must upgrade our Web Service from WLS6.1 to WLS9.2. In practice we had to re-develope the Web Service starting form the original WSDL.
The new WSDL is identical to the original one, and the business code inside has obviously been kept the same.
The new Java Test Client that we generated with clientgen (WLS92) works fine, but we need to guarantee total compatibility for all the clients developed for the 6.1 version.
Unfortunately testing our new Web Service (WLS9.2) with our old java Client (developed with WLS6.1), we found that the SOAP implementation of arrays has changed, and therefore the old client is not compatible with the new Web Services.
Is this a known issue? Is there a workaround or a solution to this problem?
== WLS6.1 array "listaPacchetti " SOAP implementation ==
<listaPacchetti xsi:type='SOAP-ENC:Array' xmlns:bean='java:smash.webservices.bean' SOAP-ENC:arrayType='bean:PacchettoBean[2]'>
<item xsi:type='bean:PacchettoBean' xmlns:bean='java:smash.webservices.bean' >
<numeroSmsResidui xsi:type='xsd:int'>2908</numeroSmsResidui>
<flagOnOffNet xsi:type='xsd:int'>1</flagOnOffNet>
<numeroSmsIniziali xsi:type='xsd:int'>4000</numeroSmsIniziali>
<idPacchetto xsi:type='xsd:string'>9693</idPacchetto>
<cessato xsi:type='xsd:int'>0</cessato>
<dataScadenza xsi:type='xsd:string'>28-02-2008</dataScadenza>
</item>
<item xsi:type='bean:PacchettoBean' xmlns:bean='java:smash.webservices.bean' >
<numeroSmsResidui xsi:type='xsd:int'>1866</numeroSmsResidui>
<flagOnOffNet xsi:type='xsd:int'>0</flagOnOffNet>
<numeroSmsIniziali xsi:type='xsd:int'>2000</numeroSmsIniziali>
<idPacchetto xsi:type='xsd:string'>9694
</idPacchetto>
<cessato xsi:type='xsd:int'>0</cessato>
<dataScadenza xsi:type='xsd:string'>28-02-2008</dataScadenza>
</item>
</listaPacchetti>== WLS9.2 array "listaPacchetti " SOAP implementation ==
<listaPacchetti>
<numeroSmsResidui>2908</numeroSmsResidui>
<flagOnOffNet>1</flagOnOffNet>
<numeroSmsIniziali>4000</numeroSmsIniziali>
<idPacchetto>9693</idPacchetto>
<cessato>0</cessato>
<dataScadenza>28-02-2008</dataScadenza>
</listaPacchetti>
<listaPacchetti>
<numeroSmsResidui>1866</numeroSmsResidui>
<flagOnOffNet>0</flagOnOffNet>
<numeroSmsIniziali>2000</numeroSmsIniziali>
<idPacchetto>9694</idPacchetto>
<cessato>0</cessato>
<dataScadenza>28-02-2008</dataScadenza>
</listaPacchetti>Any help will be appreciated!
Thank you
Laura

Hi
Thanks for your reply
I downloaded OC4J 10.1.2.0.2 and ran it as as a standalone server.
I read the blog you linked and made the changes to the web.xml for the webservice. All of which I was able to do using the property palette in jdev 10.1.2.1.0.
I deployed my webservice to my oc4j standalone server and it appeared as a new application. I editied the orion-web.xml for the new application manually.
When I point my browser at the webservice I get the test page which allows me to pass parameters to the webserive. I invoke the webservice (which does a HTTP GET according to the test page) and the webservice runs. No user and password is needed though.
What is the expected behaviour? I was hoping that the webservice wouldn't run until I supplied the admin user name and password
paul

Similar Messages

  • Web services on SAP and JCo

    Hi I have two questions:
    1) I'm using a third party connector (JCo based) which is able to expose RFC/BAPIs into Web Services.  (I know I could do this with SAP directly as well on ECC 5.0 and up, but for now let's say I have to use the JCo connector).    If I write a custom RFC and want it to be called through that JCo connector, what are the steps that I need to go through to properly configure the custom RFC?  Is there any documentation written for that?
    2) In some other scenarios I need to call standard SAP web services.  Some web services are transactional and commit/rollback needs to be called explicitly.   What is the best practice for that?  Do I need to make a custom RFC from the standard one, and add commit into it, and then expose it as a web service?   Anyway for me to call that web service and commit in one connection?  
    Thanks much in advance,
    Ye

    Hi  Ye
    just have a look on these links may be useful ...
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8798be90-0201-0010-d093-85f728778d37
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c63bca90-0201-0010-59ae-e0db32750209
    Properties for an AS ABAP Data Source... user must have authorizations to use RFC, and to create, Refer to the SAP Java connector documentation for details
    http://help.sap.com/saphelp_nw04s/helpdata/en/84/10594aecd3e1408845e66c432b955e/frameset.htm
    Regards
    Abhishek

  • ABAP Web Service with XI and SOAP

    Hi everybody!
    What we are trying to implement is the following szenario:
    SAP ERP HCM
    SAP XI (Netweaver 2004s)
    Our customers shall call a Web Service on the HCM system over the XI system transmitting 2 parameters (IDs) and get back a xml document with a list of hr related information.
    This is how we started (or want to go on) with the outside-in method:
    1. set up data types and message interface in XI integration repository
    2. generate a proxy in HCM with the transaction SPROXY and implement the service
    3. set up a communication scenario in XI integration directory using the SOAP adapter
    But there are some questions left:
    - how many message interfaces must be set up for the described scenario?
    - is the SOAP-adapter the correct adapter for that scenario?
    - how do we send back the xml information list?
    - is synchronous communication correct?
    - how can we test that scenario?
    We are new to XI and SOA so we'd appreciate any help. thanks in advance!

    how many message interfaces must be set up for the described scenario?
    You would need two message interfaces. One for the outbound for the sender and one for the inbound for the receiver. There should be request and response message types for each message interface since this is a synchronous scenario.
    is the SOAP-adapter the correct adapter for that scenario?
    SOAP adapter is correct for the web service scenario
    how do we send back the xml information list?
    You will need to design the XML information list in the Integration Repository on the message interface.
    how can we test that scenario?
    You can use third party Soap UI Client such as SOAP UI Client or XML Spy to try calling the webservice.

  • Consuming an External Web Service using HTTPS and WS Security

    Hello everyone,
    I'm having a problem setting the security information in a SOAP header using a generated ABAP Client Proxy to consume an external web service that requires a User ID and Password in the Header section of the SOAP message.  I need to use HTTPS. I'm on a WAS 7.01 SP08 system so from my readings, SAP is supposed to be able to add the username and password into the header section of the message.  I can't seem to get SAP to add this information added to the header.
    Here are the steps that I have taken to set the security values.
    1) Created the client proxy from the WSDL in SE80.  Basic Authentication on the Configuration tab was turned on automatically.
           Note, Transport Security is set to None.  I cannot change it.
    2) Created an outbound set user name profile in transaction WSPROFILE with the appropriate username and password.
    3) Added the profile to the default port in transaction LPCONFIG as an outbound under the WS Security section of the screen.
    When I called the external Web Service, I got back the following error message:
    com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5509E: A security token whose type is [http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken] is required.
    So, after reading through this Forum, I saw that I needed to use the SOAMANAGER.  I set up a Proxy in the SOAMANAGER and manually created the Logical Port.  This was the only way I could figure out how to set the Authentication Settings in the Logical Port to "User ID / Password".  I then entered the User ID and Password.
    However, I am still getting the same error message.  I feel I am close but missing some small configuration to tell SAP to use WS Security with a Username token.
    I'm not sure what I'm doing wrong, so any help would be appreciated.
    Thanks,
    Stephen

    I had this error again so I thought I would post my solution:
    The issue is SAP needs to know the certificates being used by the web site being called.  These certificates are automatically installed in your browser but need to be manually installed in SAP.  This is what I did:
    How to find/install new certificates
    Make sure you run Internet Explorer as an Administrator so you can export the certificates
    Go to the web site that SAP is trying to call in Internet Explorer
    Double click on the lock in the address bar
    View certificates
    Find the certificates that are being used
    Tools --> Internet Options --> Content --> Certificates
    Click on the “Trusted Root Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Click on the “Intermediate Certification Authorities” tab
    Find the certificate identified in step iii
    Export as a CER certificate
    Go to STRUST in SAP
    Import the Certificates in the “Anonymous” or “Standard” SSL client
    Save
    RESTART the ICM via t-code SMICM  <-- Critical!!!
    Test

  • Web Service Call with XI fails at SOAP Adapter

    Hi,
    I am currently trying to call a web service that is located in the Internet via XI using the SOAP Receiver Adapter. In the ABAP Monitoring (SXMB_MONI) the call is successfull. But when I check the Message Monitoring in the Runtime Workench I see the message failed in the SOAP Adapter. It stays in status 'wait' for some time and the shows a system error. I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
    Any ideas why the message fails in the SOAP Adapter? What are the steps to find the root cause?
    Thanks and regards.

    Hi,
    >>>I was able to call the Web Service via a SOAP Test Tool, i.e. the service is available and working.
    but does XI have access to internet?
    as you used SOAP Test Tool from your computer and not from XI machine
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Define Web Services in XI and call Web Services from XI

    Xi guys,
    I want to create some Web services in XI that will do the following things:
    receive an XML message over SOAP (from BEA WebLogic), execute 2-3 calls to an external HTTP Web Server from which I will get a response, export a file into another system, and return the response to the WS client.
    As far as I know, I will have to create a Configuration scenario in XI that will contain all these steps (obviously with the help of BPM) and with the help of the Wizard, I will produce the WSDL, the function of which the Web service client will be able to call. I have some questions on that:
    a) Is there a way to define with XI only one Web Service that will contain 3-4 function to do different things? Or one Web Service corresponds to one Configuration scenario?
    b) Also do I need a Sender Agreement and a Sender SOAP communication channel?
    c) Is there a way to construct the WSDL before creating the configuration scenario? Because BEA WebLogic people need it to start development.
    Best Regards
    Evaggelos Gkatzios

    hi,
    a) Is there a way to define with XI only one Web Service that will contain 3-4 function to do different things?
         Or one Web Service corresponds to one Configuration scenario?
    b) Also do I need a Sender Agreement and a Sender SOAP communication channel?
      Ans:
         If you are create a SOAP communication channel and Sender Agreement then One WSDL used
         One Configuration scenario.Another configuration you need to create another WSDL.Because at the
         time of creating WSDL you need to give a service name and communication channel.
         If without communication channel(using proposal consept creating WSDL) you can use that various
         senarios if your sender structure is same.(this time WSDL have the pipeline address with help
         of  message interface  fine the mapping and gave the output).
         If you create with SOAP communication channel and Sender Agreement WSDL is more secure.
         with out communication channel is not a secure one.
         If you go with (without sender CC) you can create and gave a WSDL before Scenario.
         If you have sender CC then after creating a scenario only you can able to gave WSDL.
         If you are createing with sender cc then you need to give a URL
         [http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:SenderService:SenderCC]
    *Reward Points If Helpful*
    Regards,
    Prakasu

  • Calling web service with utl_dbws and parsing the xml result with Xpath

    I'm invoking a web service from the database(10.2.0.2.0) using sys.utl_dbws and all is working well. After executing response := sys.utl_dbws.invoke(call_, request); I execute dbms_output.put_line(substr(response.getstringval(),1,1500)); which results with:
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    How do I parse out just the value 20292 of Column name="C_ID" using xpath? I've tired but I don't think i have the xpath set up correctly:
    dbms_output.put_line(response.extract('//result/Row/Column/child::text)','xmlns="http://xmlns.oracle.com/refCursor10g"').getstringval());
    Error messgae is:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "ADM.CONSUME_WEB_SERVICES", line 439
    ORA-06512: at 3
    Thanks

    Tried getting by the attribute but I don't think I have the format correct:
    dbms_output.put_line(response.extract('//result/Row/Column@C_ID/child::text()','xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST"').getstringval());
    Here's the full soap response envelope:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <refCursor10gProcessResponse xmlns="http://xmlns.oracle.com/refCursor10g">
    <result xmlns="http://xmlns.oracle.com/refCursor10g">
    <Row xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/ADM/SERVICES/GETST/">
    <Column name="C_ID" sqltype="VARCHAR2">20292</Column>
    <Column name="AYR" sqltype="VARCHAR2">2002</Column>
    <Column name="EDT" sqltype="VARCHAR2">2002-06-13</Column>
    <Column name="ETUS" sqltype="VARCHAR2">O</Column>
    <Column name="PC" sqltype="NUMBER">537</Column>
    <Column name="SG" sqltype="VARCHAR2"/>
    <Column name="VD" sqltype="VARCHAR2">Y</Column>
    <Column name="VR" sqltype="VARCHAR2">R</Column>
    <Column name="TS" sqltype="VARCHAR2">31</Column>
    <Column name="D" sqltype="VARCHAR2">I</Column>
    <Column name="T" sqltype="VARCHAR2">1</Column>
    <Column name="P" sqltype="VARCHAR2"/>
    <Column name="MT" sqltype="VARCHAR2">2</Column>
    <Column name="PTAT" sqltype="VARCHAR2"/>
    </Row>
    </result>
    </refCursor10gProcessResponse>
    </env:Body>
    </env:Envelope>
    Any thoughts?

  • Mobile app based on web service data control and VO with VC runtime error

    Hi,
    Jdev 11.1.2.3.0 + mobile extension.
    Windows 7, 64 bit.
    Reproduceable with Android emulator but not on iOS and iOS emulator.
    I can not test on real Android device because we do not have it in our office.
    So I don't know wether this issue is related to android emulator only or to android in general.
    Also not reproduceable by Oracle support.
    I have a VO "Employees" with a VC "department_id = :departmentIdVariable" and exposed the find method for this VO via service interface in AM.
    (see demo video from https://blogs.oracle.com/shay/entry/developing_with_oracle_adf_mobile?utm_source=dlvr.it&utm_medium=facebook).
    In a ADF mobile app I create a parameter form and amx:listView like demoed in the mentioned video.
    Whenever I test this app on android emulator I get the error below.
    Exact the same page used in a second feature works fine.
    I found out that the problem only occures on the first attept (this means when I open the page on the second feature first then this will fail and the subsequent call of the first page will be successfull).
    The problem does not occure when the web service data control does not contain a method based on VC with bind variable.
    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Unable to load Data Control testDataControl due to following error: ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute.
    ERROR [oracle.adfmf.framework.exception.AdfException] - Unable to load definition for testDataControl.Types.findEmployeesView1DepartmentIdCriteria.findCriteria.childFindCriteria.findAttribute
    at oracle.adfmf.metadata.bean.transform.TransformCacheProvider.fetch(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
    at oracle.adfmf.cache.SimpleCache.get(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;(Compiled Method)(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataCache.getByLocation(Ljava/lang/String;)Loracle/adfmf/util/XmlAnyDefinition;(Unknown Source)
    at oracle.adfmf.metadata.cache.MetaDataFrameworkManager.getJavaBeanDefinitionByName(Ljava/lang/String;)Loracle/adfmf/metadata/bean/JavaBeanDefinition;(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.<init>(Ljava/lang/String;Ljava/lang/String;Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.VirtualJavaBeanObject.registerAccessorAttribute()V(Unknown Source)
    at oracle.adfmf.dc.JavaBeanObject.registerJavaBean(Loracle/adfmf/metadata/bean/JavaBeanDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceObject.registerBean(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;Loracle/adfmf/metadata/dcx/soap/SoapDefinitionDefinition;)V(Unknown Source)
    at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadDataControlDefinition(Loracle/adfmf/metadata/dcx/AdapterDataControlDefinition;)V(Unknown Source)
    at oracle.adfmf.dc.GenericJavaBeanDataControlAdapter.loadDataControl(Ljava/lang/String;)V(Unknown Source)
    at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.setDataProvider(Ljava/lang/Object;)V(Unknown Source)
    at oracle.adf.model.adapter.DataControlFactoryImpl.createDataControl(Loracle/adfmf/bindings/dbf/AmxBindingContext;Loracle/adfmf/util/XmlAnyDefinition;Ljava/util/Map;)Loracle/adfmf/bindings/DataControl;(Unknown Source)
    Does anyone has seen the above error ?
    I have recreated the model and mobile app more than 20 times, re-installed Jdev, re-created Jdev settings (integrated WLS & Co), ran the web services on a different machine.
    On my site this problem is 100% reproduceable with android emulator.
    regards
    Peter

    Hi, Peter, this could be an issue with proxy server setting. Are you behind a firewall when you test this?
    iOS simulator would use Mac's proxy setting. Android Emulator has its own proxy setup - it's a bit complicated to get to and varies based on the Android emulator you are using. For 4.1 emulator (you should always use 4.x or above emulators), you would need to go into the emulator itself, and go to settings - Wireless & Networks - click More... - Mobile Networks - Access Point Names. You should see an Access point used by the emulator to simulate network connection. Mine says "T-Mobile US". You click on it, and then you can select the proxy attribute and set it according to your office's settings.
    Hope that resolves the issue.
    Thanks,
    Joe Huang

  • RPC web service session beans and local interfaces

    I am wondering if it is possible to use EJB 2.0's local
    interface (vs remote interface) with 6.1's RPC web service
    session beans. Since WLS generates the SOAP servlet that
    invokes the RPC session bean and I do not find
    a way to some how tell SOAP servlet to use local interface to
    get the session bean's local home interface, I am not sure
    this can be done.
    Any comments would be appreciated.
    Thanks.
    Peter

    Ta. Thanks for the info.
    Any idea when Local I/F support is due?
    -Nick
    "Neal Yin" <[email protected]> wrote:
    >
    "Nick Minutello" <[email protected]>
    wrote
    in message news:3d4413a4$[email protected]..
    I was just about to post the very same question - but for WLS 7.0.0.1.
    There are essentially two questions:
    1) (from a functional perspective)
    Can I expose Local Interfaces as SOAP using the auto-generation(servicegen ant
    tasks)?Local Interfaces support is coming.
    2) (from a performance perspective)
    Does the generated SOAP implementation go via the (expensive) RemoteInterface
    (ie marshalling) - or is the RMI marshalling optimised out (by setting<enable-call-by-reference>true</>)?
    You can set this option by yourself on your EJB. Web service runtime
    doesn't
    do any magic in this area.
    Regards,
    Nick
    "Peter" <[email protected]> wrote:
    I am wondering if it is possible to use EJB 2.0's local
    interface (vs remote interface) with 6.1's RPC web service
    session beans. Since WLS generates the SOAP servlet that
    invokes the RPC session bean and I do not find
    a way to some how tell SOAP servlet to use local interface to
    get the session bean's local home interface, I am not sure
    this can be done.
    Any comments would be appreciated.
    Thanks.
    Peter

  • Error trying to secure Web Service through OWSM and OAM

    Hi all.
    We are trying to secure a web service using Oracle Web Service Manager and Oracle Access Manager. We have deployed it into two HTTP Servers. The intended business flow should be:
    1. The WSC make a SOAP request signed with a X.509 v1 client certificate.
    2. The OWSM Gateway intercepts this request and apply the defined policy:
    a. Verify Signature.
    b. Extract of credentials
    c. OAM Authenticate Authorize.
    3. Then OAM apply the defined rule:
    a. Credential validation and extraction of security tokens
    b. Authentication against OID security attributes
    We have protected with OAM the end-point web service URL for authentication and authorization. But we are getting an error when we invoke this web service:
    /The Web Service call failed. The service returned a SOAP fault with the
    message: Authentication Fault: Invalid User Session Token/
    It seems that OWSM Gateway are processing policies defined well, but th error became accesing to OAM authentication and authorize. We have tried to enable OAM debug system, but if we configure it, OAM are unable to start. So we are not able to obtain a more detailed error.
    T.I.A.

    Try re-configuring the AccessServerSDK AccessGate using the configureAccessGate command in the tools directory. It may be possible that the key pairing is corrupted.

  • Web Services in Apex and XE

    Hello!
    I'm using Application Express with Oracle XE.
    Have tried web services but with no success.
    Can someone tell me if
    Can UTL_DBWS be used on XE?
    From what I see it can't (no java support in XE DB).
    Do the Web Services work in Apex with XE?
    Can't create a web service reference.
    If yes, must the proxy server for application be set for
    web services to work in Apex (not using one for internet
    access)?
    Are the sample UDDI references provided in Apex still
    valid or not?
    Thanks in advance
    Wlodek

    Have been trying web services and using the link above and got nothing back. Testing the web service in shared components works and you can see the soap package being sent and the response but on the page no items are being populated.
    What I did was use this link
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
    and use there package and function to call the web service. It works. Would be good to see it working in APEX. Have tried to use in version 2.2 but still can't get anything to work.
    If anyone knows where I can get information in creating my wsdl file in APEX that would be great.
    thanks
    Andrew

  • Axis Web Services with Orabpel and jBoss

    I have installed orabpel_2.0.11_JBOSS_win32.exe and am just trying to integrate some Axis1.1-Web-Services into the processes.
    So I installed the axis web application within the server under .../deploy/webapps/axis.war and it is deployed automatically as expected.
    The axis happiness-page looks very promissing, but when I try to request the wsdl for e.g. the Version-Service I get the following exception:
    java.lang.NullPointerException
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl
    .java:97)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:
    86)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.jav
    a:40)
    at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:267)
    at org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider
    .java:494)
    at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java
    :72)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:137)
    at org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.ja
    va:375)
    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:499)
    at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisSer
    vlet.java:484)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:285
    ...... etc.
    I found a similar question in the web services forum but no solution to the problem. Is it possibly a library problem? Or a factory problem, because I saw something like
    set OB_JAVA_PROPERTIES="-Djavax.wsdl.factory.WSDLFactory=oracle.j2ee.ws.wsdl.factory.WSDLFactoryImpl"
    in the obsetenv.bat file.
    Any help? Because I don't want to write every wsdl by hand.
    Best regards, Norbert

    Hi Guys,
    I tried the same thing, but I am getting a different error.
    I appreciate any help in this regard, in advance.
    ~Soumen.
    On the browser:
    AXIS error
    Sorry, something seems to have gone wrong... here are the details:
    Fault - ; nested exception is:
         WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no serializer registered.:
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}hostname:rockfella
    In the console:
    10:41:21,203 INFO [enterprise] Mapping Exception to AxisFault
    WSDLException: faultCode=OTHER_ERROR: Unable to serialize extension {http://schemas.xmlsoap.org/wsdl/soap/}binding, no s
    erializer registered.:
    at oracle.j2ee.ws.wsdl.extensions.ParseUtils.writeExtensibilityElements(ParseUtils.java:130)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeBinding(WSDLWriterImpl.java:248)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeDefinition(WSDLWriterImpl.java:178)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:88)
    at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.getDocument(WSDLWriterImpl.java:40)
    at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:340)
    at org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:242)
    at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)

  • Special Character in Web Service using OAS and Weblogic

    In the project, we are using OAS be the app server, all the "<" in the context of xml in web service are converted to "&lt;" automatically.
    However, when we deploy it to weblogic, the "<" was converted to "&<;&"
    Then another app try to unmarshalling it, but the app cannot handle the < the throw the exception. Do you know why the how to change it back to "&lt;"?
    OAS version:10.1.3.2.0
    Weblogic version:11gR1
    Spring Version:2.5
    OAS XML
    <?xml version='1.0' encoding='UTF-8'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <makeHTMLStrForAwardServiceResponse xmlns="http://com.makeHTMLStrForAward/types/">
    <htmlStr>&lt;html>&lt;head>&lt;style type="text/css">
    &lt;/html>
    </htmlStr>
    </makeHTMLStrForAwardServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    Weblogic XML
    <?xml version='1.0' encoding='UTF-8'?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <makeHTMLStrForAwardServiceResponse xmlns="http://com.makeHTMLStrForAward/types/">
    <htmlStr>&<;&html>;&<;&head>;&<;&style type="text/css">
    ;&<;&/html>;</htmlStr>
    </makeHTMLStrForAwardServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>
    Edited by: user1287019 on Apr 20, 2011 10:13 AM

    Ha Ha,
    I found that one of the Spring WS lib we were using is 1.5.4.
    It seems OAS ship with WS lib and the app use the OAS lib.
    But weblogic did not have WS lib, then app need to use it's own lib. Then problem occur.
    After change to version 1.5.8, the problem solved.

  • How to monitor progress of web-service calculation?  And abort it?

    Hello. We're thinking of converting an existing Java radar calculation program into a web-service, so that it can be used by various interested parties. However, calculations can take some time (several minutes) and so we would like the client to be able to both show calculation progress and allow the user to abort the calculation if necessary. It is not obvious to us how to do this with a web-service. Are there any standard approaches to this problem? What's the best way of a client asking the web-service how a calculation is progressing? What's the best way for a client to abort a calculation? Any advice most welcomed.
    Kind regards
    Paul Howland
    NATO C3 Agency
    The Hague

    You can't estimate the duration withour running the gather_database_stats. You can monitor it while it is running. (e.g. count the tables that have got updated statistics based on DBA_TABLES)
    And if you run gather_database_stats, the default behaviour might well be to exclude tables which aren't "stale" while in the imported database the expectation is to gather stats on all tables.
    (Similarly, the behaviour to gather column histograms (method_opt) may differ in an existing database from a newly imported database)
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 14, 2013 10:13 AM

  • Web Service proxy deployment and reuse

    Jdev. 11.1.1.4
    Hi,
    In my ADF application I have created a web service proxy with Jdev wizard.
    I have created a method in order to test it and it works ok.
    Now, I need to reuse this proxy (the package) in other java applications also in Jdev but working with struts (I don't thnk this is important but....)
    I have created a deployment profile only for the ws proxy package and generated a jar file.
    This jar file has been declared in the second application and try to execute the same method that worked in the first application.
    Just in the first sentence:
    UtilGestionDocumental utilGestionGrupos = new UtilGestionDocumental();
    we are having an "unauthorized error". No time to declare any username nor password that are send in later instructions.
    The first part of the call to the WS that we are using is this:
    UtilGestionDocumental utilGestionGrupos = new UtilGestionDocumental(); <- Here it throws the error
    SecurityPoliciesFeature securityFeatures =
    new SecurityPoliciesFeature(new String[] {
    "oracle/wss_username_token_client_policy" });
    UtilGestionDocumentalPortType entidadDocPortType =
    utilGestionGrupos.getUtilGestionDocumentalSOAP12Port(/*securityFeatures*/);
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider.USERNAME_PROPERTY,"Username");
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,"Password");
    ((BindingProvider)entidadDocPortType).getRequestContext().put(BindingProvider."EndPoint....." );
    I think I'm not using the correct system to create a jar for the WS, am I ?
    someone can help me with this ?

    Does any expert can help in deploying a web service proxy as a jar file ?

Maybe you are looking for

  • Information Given in Report Parameters of COPA Report

    Can any please tell what information does the Keyword "Memory Table SP" and "Screen Table B" provide which is given under the Tech Data Tab for Overview of Report Parameters? It will give some information about the data rows.What does that informatio

  • NEED HELP FOR INTERACTIVE REPORT..PARAMETERISED

    I have a report which output is displayed after a field is selected from select list.. The output of query is empty .. This is the query .... it doesnt work when i try to put the value of variable in other page...and call it from the query like below

  • Duplicating an Editable Region

    Is it possible to duplicate an editable region without getting the error "Duplicate editable regions found". I need to duplicate the content in one editable region multiple times. I have Windows XP SP2, version 7.0.1. Thanks!

  • Reg. arear(verzn) value from fbl15n

    Hi all, Is any way ( any functional module or BAPI) to get the value for arear(verzn field) in the line items of FBL5n tcode based on customer,company code,document no, reference no. posting date thanks suresh

  • Create Process Chains and add Process Types using ABAP

    Does anyone in here have experience in creating or changing a full Process Chain including the Process Types? The reason is, that we have a lot of source systems with "similar" loads. We already have an ABAP that can copy the chain and replace the In