Secured Web Service - security issue

Hi,
I have successfuly created Web Services Data Control, with authentication - userid/password (WSDL uses https).
I have created a simple page with Search form and ADF read-only table for results.
I'm getting following error when starting the page / executing the search:
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
=====
How can I verify content in <soapenv:Header><wsse:Security ........> tags in the message sent to SOAP server? Is there a way how can I configure generated Header (e.g. Password Type, or xmlns:wsu ... )?
Thanks a lot for support,
DanielF
Edit: It seems, that Header is not composed properly (Security Subject: anonymous):
Target URL -- http://localhost:7101/FSS_Demo-ViewController-context-root/faces/WebServices2.jspx
<JAXWSMessageLogger> <errorLogException> Error while invoking endpoint "https://172.22.30.12:8114/DV900/AddressBookManager" from client; Security Subject: anonymous
<WebServiceConnectionMessages> <debugExecuteFailure> Failed to execute a SAAJ interaction.
oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client hat SOAP-Fehler vom Server erhalten: Error on verifying message against security policy Error code:1000
How can I control the Header composition?

Dimitar,
thanks a lot for response, this is something new for me.
When I edit Data Control Policies, JDeveloper throws following error:
Mar 13, 2012 5:43:23 PM oracle.j2ee.util.AnnotatedLogger logWithThrowable
SEVERE: The policy manager repository path "C:\Dokumente%20und%20Einstellungen\fasda\Anwendungsdaten\JDeveloper\system11.1.1.6.38.61.92\DefaultDomain\oracle\store\gmds" does not contain any valid directories.
java.lang.IllegalArgumentException: WSM-04694 : An invalid directory was provided to connect to a file-base MDS repository.
When I ignore this error, "Edit Data Control Policies" window is displayed. There are no selected policies in the Security Tab.
====
Edited by: DanielF on 13.03.2012 09:51
Web service expects header in following format:
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>username</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
How shall I set up the Control Policies?
Thanks a lof for support,
Daniel

Similar Messages

  • MDM Web Service authentication issue. How to use ?

    Hi,
    I' am a Microsoft technology person I' am working on integrating SAP MDM 7.1 to SharePoint 2010 using MDM Web Services interface and consuming the same in .NET custom component.
    I tried the WS with "None" authentication and it worked great.
    I' am having issues understanding how HTTPAuthentication with SAP Logon ticket authentication works in MDM.
    Created the authentication enabled web service and while testing in NetWeaver WS Navigator, it throws me exception, not able to establish session with repository for user XYZ.
    Please help me with the following queries I have:
    1) How to test a authentication enabled web service in NetWeaver WS Navigator ? Do the user id/password needs to be set in the "Invocation Parameters" ? Link to any article etc will be appreciated.
    2) How to pass the MDM user credentials (or just the username) in the MDM web service in .NET code. I didn't see any parameter in the Client class constructor to pass the same, nothing related to that found in the code that gets generated on adding the service reference.
    As per the documentation on the MDM security, looks like a trust relationship also needs to be configured on MDM - allow.ip file entries.
    However first I want to understand how to pass this information in Web Services through code.
    SharePoint   -
    (1)--> SAP PI  -(2)--
    > SAP MDM                                             
    (integrated with Active Directory                        (Where Web services are deployed     (have its own user accounts)
    so logged in user is already authenticated)          and have its own user accounts)
    The trust relationship configuration could solve the problem of authentication marked in second hop (2) by registering the IP address of PI server.
    Please help me understand how would it work to solve the first hop (1) problem and what needs to be done.
    Thanks,
    Parvinder

    Thanks Gaurav.
    The link talks about setting up the Trust with MDM server.
    The code sample provided there has the following step where user name is being set and passed to MDM:
    Use  command to authenticate user session on trusted connection
           TrustedUserSessionCommand  tuscTrustedUser =
           new TrustedUserSessionCommand(mySimpleConnection);
           //  Set the user name to use
           tuscTrustedUser.setUserName(UsernameAsString);
           tuscTrustedUser.setSession(session);
           tuscTrustedUser.execute();
           session =  tuscTrustedUser.getSession();
    I want to understand how to do that for MDM Web Services.
    I didn't see any method accepting this user name while calling the web service method / creating client object.
    So that link is still missing.
    Appreciate if anyone can help me with that.
    This is for MDM 7.1
    Thanks,
    Parvinder

  • Mailbox server web services proxy issue

    One of our 3 mailbox servers gives us an error when mailbox databases are mounted on it.
    All web services are not functioning properly, there is an event log error for each web service web.config file saying file not found, If I open each web.config file and look at the line in question they all point to:
    <assemblies>
            <add assembly="Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          </assemblies>
    Does anyone know what this is pointing at or what my server is missing?
    It is Exchange 2013 Sp1 RU7 as are my other 2 mbx servers which work fine...
    all pre-req's are installed as I double checked and no difference between the 3 mbx servers that I can see...
    ***Don't forget to mark helpful or answer***

    Here is the IIS error:
    === Pre-bind state information ===<o:p></o:p>
    LOG: DisplayName = Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<o:p></o:p>
    (Fully-specified)<o:p></o:p>
    LOG: Appbase = file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/<o:p></o:p>
    LOG: Initial PrivatePath = C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Autodiscover\bin<o:p></o:p>
    Calling assembly : (Unknown).<o:p></o:p>
    ===<o:p></o:p>
    LOG: This bind starts in default load context.<o:p></o:p>
    LOG: Using application configuration file: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Autodiscover\web.config<o:p></o:p>
    LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config<o:p></o:p>
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.<o:p></o:p>
    LOG: Post-policy reference: Microsoft.Exchange.Security, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security/Microsoft.Exchange.Security.DLL.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/autodiscover/b455e468/cbaac37d/Microsoft.Exchange.Security/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft/Exchange Server/V15/ClientAccess/Autodiscover/bin/Microsoft.Exchange.Security/Microsoft.Exchange.Security.EXE.<o:p></o:p>
    ***Don't forget to mark helpful or answer***

  • P6 R8.1 Web Service installation issue on Linux

    We are trying to install P6R8.1 web services on weblogic in linux. We have the following setup:
    1. Oracle 11g standard database in CentOS-5.4 64-bit
    2. P6R8.1/ Weblogic 10.3.3.4 installed on CentOS 5.4 64-bit (separate server).
    We have installed as per the oracle installation guide without any warning/ failure. After deploying the .war file (p6ws.war), it also showing Active in Weblogic admin console. But while trying to access the application (http://localhost:7001/p6ws) we are getting error: 403 Forbidden.
    We have tested the weblogic by deplyoing some sample .war file and it works fine
    After examining, we have found that there is no index.jsp file in the root of the p6ws.war file and it is only 29 mb compare to primaveraweb.ear file which is 194 mb of our existing installation (P6V7 with similar environment).
    Is our .war file is not properly generated or we are missing some steps? Or there is any other issue?
    Any help will be highly appreciated.
    Best Regards,
    Sandip

    In previous versions the following was sufficient:
    http://HOST:PORT/p6ws/
    The correct URL as of version 8.0 of P6 Web Services is the following:
    http://HOST:PORT/p6ws/services
    See the following: "Error 403--Forbidden" When Attempting To View Available Services For P6 Web Services (Doc ID 1293112.1)

  • A web service design issue with patterns

    Hello,
    I�d like to ask for your help in the following design issue:
    I need to create an email sending web service (with Axis). Only just one method which returns with an integer return code. This handles the following:
    - based on the given parameters gets the email addresses from an
    LDAP server (with netscape ldap for java)
    -     makes a cache from them (only after a timeout period will be the cache
    refreshed) (don�t know what tool to use for this)
    -     selects html templates which to be sent based on the given parameters
    -     sends emails with the appropriate templates (with Velocity)
    -     the whole process is logged (with log4j)
    I have to write the code as generic as possible. I know that some design pattern should be used for this. (some from GoF , and I know there exists design patterns specially created for web services as well).
    Could you enumerate me which patterns (and for what part of the program) would be the best choice to solve this problem? I have read through some books about patterns, but don�t have the knowledge to pick up the right one for a concrete problem like this..
    Thank you in advance,
    nagybaly

    Hello,
    I�d like to ask for your help in the following design
    issue:
    I need to create an email sending web service (with
    Axis). Only just one method which returns with an
    integer return code. This handles the following:Lots of responsibilities here. You would do well to break this up into several classes that you can test separately.
    I would also advise that you not embed all this in a servlet. Make a service that collaborates with several objects to accomplish the task and let the serlvet just call it.
    .> - based on the given parameters gets the email
    addresses from an
    LDAP server (with netscape ldap for java)I'd recommend Spring's LDAP module. Pretty terrific stuff.
    cache from them (only after a timeout period will be
    the cache
    refreshed) (don�t know what tool to use for
    this)Maybe EhCache or OsCache or something like that.
    -     selects html templates which to be sent based on
    the given parametersWhere does this come from? Certainly not the LDAP. A relational database? Write a DAO for the document template.
    -     sends emails with the appropriate templates (with
    Velocity)Have an e-mail sender service using Java Mail.
    -     the whole process is logged (with log4j)Easily done.
    I have to write the code as generic as possible. I
    know that some design pattern should be used for
    this. No pattern. There might be patterns, if you say that the DAOs to access the LDAP and RDB are patterns.
    Stop thinking patterns and start thinking objects.
    (some from GoF , and I know there exists design
    patterns specially created for web services as
    well).Nope.
    Could you enumerate me which patterns (and for what
    part of the program) would be the best choice to
    solve this problem? I have read through some books
    about patterns, but don�t have the knowledge to pick
    up the right one for a concrete problem like this..
    Thank you in advance,
    nagybalyYou haven't read them because they aren't there. Your problem is pretty specific, even if it's common.
    %

  • Removing xmlns from web service response issue (XSTL mapping)

    Hi XI experts.
    I'm having a very strange issue with a pamming program: It all started because the response from a 3rd party web service is coming with a "xmlns=http://....etc" in the document node and this was causing XI not to recognize the message.
    After reading most of the forum threads and with the help of other web resources, I was able to write a small XSLT program to remove this. The program seems to work perfectly: I can open the resulting XML document in IE, return it as a response to a test soapUI call, even load it all in "green" in the XI mapping test tool.
    But, when I feed the resulting message into the next mapping (XI mapping), only the Message Type node is produced at the other end!!! Not even an error message is issued. The same happens in the mapping test tool. Hoewver, I'm able to display the queues. I'm puzzled.
    This is my XSLT mapping, is there anything wrong with it?
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="*">
    <xsl:element name="{local-name()}">
    <xsl:for-each select="@*">
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:for-each>
    <xsl:apply-templates/>
    </xsl:element>
    </xsl:template>
    </xsl:stylesheet>
    Thanks in advance.
    Carlos

    Hi Aamir,
    Thanks for your response. I will check it out.
    In the last 10 minutes or so I realized that the empty message is being produced because the first child node of the message is optional (0..1) and for some strange reason that source node mapped to it was not being recognized after the XSLT. I confirmed this by mapping this node to a constant. Then I restored the original mapping and now it's working - weird! It looks like something was messed up inside the XI mapping program.  I will continue testing however I am now off-site and have no connectivity via SOAPUI until Monday.
    Thanks.
    Carlos

  • Web Service Response issue for some Requests

    I have a WebService deployed on Oracle Application Server and it's an HTTPS connection. I am facing a small issue and can't figure out
    what's going on. For each request there's a response returned. Sometimes the comsumer does not get the response back even though the request
    is successfully processed and response generated but some how it never makes it to the consumer.
    Here is the signature of the function:
    public Element parseData(Element data) throws RemoteException;
    --------------------------------------------------------------------------------And I can't figure out why a consumer does not receive a response back for some of the requests. Any ideas what might be wrong or how to
    debug this issue. Is there any place I can look to see for each request is a response going back. I don't know if it's related Network or
    App. Server and where to start to debug this. As looking at the logs of my Web Service I do see all the requests being processed and response
    being generated but some how it never makes it to the consumer. It normally takes arround 5 to 10 seconds to process each request and most
    of time multiple requests may be being processed.
    Any help is appreciated.
    Thanks

    Hi there.
    If the consumer of your service is a .NET client, it will silently ignore any response that is not formated as advertize in the WSDL and will return an empty object to the caller. As you are trying to use raw XML Element, it seams to be a potential explaination.
    If you can turn off SSL in your test environment, you may want to run a TCP sniffer tool, on the host where your server is running. You can setup a filter on the IP @ of the consumer or the TCP port of the service comsumed. I'll recommend you look at ethereal as it's a cross platform utility.
    Hope it helps.
    Eric

  • Query as a web service Sorting issue

    Hi All,
    We have designed an existing BI query as a web service but it seems to be ignoring the Sort order of different characteristics used (as defined in Bex Query Designer).
    Using the Context menu in QAAS and defining/managing the Sort is not working.
    Has anyone experienced such an issue and how to handle this?
    Thanks and Regards,
    Bansi

    Hi All,
    You can try this solution. It has something to do with the universe parameter, END_SQL.
    I implemented this as a work around and it solved our problem about the sorting issue with QAAWS.
    Here are the steps:
    1: Open the universe
    2. Ope File,  then Universe Parameter
    3. Click the parameter tab
    4. Scroll down until you see the 'END_SQL' entry. This entry is blank by default.
    5. Select END_SQL
    6. On the VALUE box, type: ORDER BY 1
    7. This will enable the REPLACE button. Click REPLACE
    8. Save the universe
    9 Test a query using 2 columns and view the SQL.
    You should see now the ORDER BY 1 inferred in the SQL statement.
    Voila!!!!
    Of course you can always add ORDER By 1,2,3 later if there's a need.
    Enjoy.....
    Ferdinand

  • Web Services Integration issues on Oracle Web Service Example Page..

    The Oracle hosted pages for the Web Services Integration, all of the applications are dying when you try and run them. 1/2 of them are having ACL (Access Control List issues)..
    Don't know if this is because of the change-over to APEX 4.0 or a new version of teh database being used, just though Oracle should know and they MIGHT want to fix them..
    Thank you,
    Tony Miller
    Webster, TX

    Tony:
    Thanks for pointing that out. They should now all be fixed with the exception of the Amazon sample. Amazon changed their API some time ago to require a signature parameter, I blogged about this here: http://jastraub.blogspot.com/2009/10/rest-now-supported-in-flexwsapi-and.html.
    Regards,
    Jason

  • Web Service: Deploy: Issues

    Hi, I am trying out the basic tutorial 'Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server' located at http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm#t4
    I am getting a weird error when I try to deploy the WebService.Deploy to oc4jconn.
    This web service does not use any db connection. myjdev is configured to jdev and I can run other applications connecting to mysql. Any pointers will be great I am stuck with this error.
    Here is the full error stack:
    ---- Deployment started. ---- Oct 7, 2006 11:08:50 PM
    Target platform is Standalone OC4J 10g 10.1.3 (oc4jconn).
    Wrote WAR file to D:\jdevhome\mywork\TopDownContractDevelopment\GetDates\deploy\WebServices.war
    Wrote EAR file to D:\jdevhome\mywork\TopDownContractDevelopment\GetDates\deploy\TopDownContractDevelopment-GetDates-WS.ear
    Uploading file TopDownContractDevelopment-GetDates-WS.ear ...
    Application Deployer for TopDownContractDevelopment-GetDates-WS STARTS.
    Copy the archive to D:\Jdev10_1_3\j2ee\home\applications\TopDownContractDevelopment-GetDates-WS.ear
    Initialize D:\Jdev10_1_3\j2ee\home\applications\TopDownContractDevelopment-GetDates-WS.ear begins...
    Unpacking TopDownContractDevelopment-GetDates-WS.ear
    Done unpacking TopDownContractDevelopment-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize D:\Jdev10_1_3\j2ee\home\applications\TopDownContractDevelopment-GetDates-WS.ear ends...
    Starting application : TopDownContractDevelopment-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Warning. Unable to set up connection factory to location TopDownContractDevelopment-GetDates-WS for a resource adapter in {1}
    application : TopDownContractDevelopment-GetDates-WS is in failed state
    Operation failed with error:
    Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.mysql.jdbc.Driver
    Deployment failed
    Elapsed time for deployment: 3 seconds
    #### Deployment incomplete. #### Oct 7, 2006 11:08:53 PM

    I had the same problem and found the issue.  This post is to help anyone else that runs across it.
    If you get to this point you probably did the following:
      Set up a deployable proxy DC.
      Added all the entries to the various xml files.
      Had a problem with deployment of the ear due to the reference type being set to 'hard'.
      Changed the reference type to 'weak' to get the deployment to work.
    The Reference type really needs to be set to 'hard'.
    The issue is that the Reference target name needs to be set to the deployable proxy name.  For example, if the proxy DC is named 'testprxy' then the Reference target needs to have this name.  If you are using NWDI tracks (not a local DC), then the name will include the SC name (ex. abc~testprxy where abc is the SC name).
    Also, the provider name should be the same as the vendor name used for the DC.
    If the proxy DC full path name is: com.myco.abc.proxies.TestProxy -
    Summary of names and paths to use for the various entries:
      In ejb-j2ee-engine.xml - Server component JNDI name
        /wsclients/proxies/myco.com/abc~testprxy/com.myco.abc.proxies.TestProxy
      In application-j2ee-engine.xml - Reference target
        abc~testprxy  (or just testprxy if it is a local DC)
    Use any name for the Application local JNDI name in the ejb-j2ee-engine.xml.  But this is the only place in the xml files where this name is used.
    If you use MyTestProxy as the Application local JNDI name, then the reference in code for the context lookup would be 'java:comp/env/MyTestProxy'.
    Just remember local DCs don't have an SC name to include (which was 'abc~' in the examples above).
    When in doubt about the JNDI name (full path), use Visual Administrator to look at the JNDI registry (start at wsclients which is at the bottom of the list).
    Hope this helps.
    -Cindy

  • Accessing BPEL processes via a proxy web service performance issues

    Hello,
    I have more BPEL processes implemented, each such a process implementing business functionality in a certain domain (generally, a domain has more business processes).
    The request was to provide a single web service for each domain. It means that all the business methods (processes) in the same domain should be accessed through the same web service. This request doesn't make possible to expose the BPEL processes themselves as web services that could be directly consumed by different clients of the application.
    The alternative will be to implement the "domain" web services through a Java class, for instance. With this approach, the Java based domain web services will expose the needed business methods to the clients. And the Java class will get the request input parameters and will call the corresponding BPEL process via SOAP. This scenario would be fine, but... this approach would imply a supplementary marshalling/unmarshalling process at the domain web service level. The data returned by the BPEL processes could be very large and in such a situation the Java based domain web service will introduce an important performance drawback.
    Is there any other solution to this case that will allow the using of a "proxy" domain web services that will not introduce any important drawback via marshalling/unmarshalling?
    Many thanks in advance!
    Regards,
    Marinel

    Hello,
    First, thank you Sandor for your answer.
    I understand that it is possible to create a BPEL process that exposes multiple operations/messages. This would be exactly what I need: a single process (web service) that will expose many operations. Could anyone, please, point me to such an example?
    So far I thought that there is possible to have only one operation exposed with a BPEL process, what is delimited between the receive/reply blocks (in the synchronous case).
    Regards,
    Marinel

  • Web service deployment issue

    On my WinXP laptop using Jdeveloper10g I can wrap a PL/SQL stored proc (10g database) as a web service - test it and deploy it to Oracle 10g AS also running on my laptop.
    However, if I do the same thing using the same version of JDeveloper, database and Application server on a Win2003 server (the service tests ok within embedded OC4J container) it returns the error below when I try to deploy it. (curiously enough I can deploy the service back onto my laptops App server which tells me the service and it's deployment file is ok).
    any clues?
    Here is the deployment error...
    Target platform is Oracle Application Server 10g (Local10gAS).
    Wrote WAR file to C:\JDev_10g\jdev\mywork\POC\Project\WebServices.war
    Wrote EAR file to C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear
    Invoking DCM servlet client...
    C:\j2sdk1.4.2_08\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\JDev_10g\jdev\lib\oc4j_remote_deploy.jar http://127.0.0.1:1810/Oc4jDcmServletAPI/ ias_admin **** redeploy C:\OraHome_1 C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear POC-Project-WS C:\OraHome_1\j2ee\home
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy C:\OraHome_1 C:\JDev_10g\jdev\mywork\POC\Project\POC-Project-WS.ear POC-Project-WS C:\OraHome_1\j2ee\home
    Command = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 0a096002712cef0355c6b42483e83cd8dc3454d821f
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=0a096002712cef0355c6b42483e83cd8dc3454d821f
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Exit status of DCM servlet client: -1
    Elapsed time for deployment: 11 seconds
    #### Deployment incomplete. #### 01-Jul-2005 14:38:48

    Make sure the webservice endpoint is the correct one. You have to change this one if you deploy the webservice to another machine.

  • Web services design issues.... for a newbie

    I have to develop several web services (JDev 9.0.2.822 and 9iAS R2). Almost all examples that can be downloaded from OTN expose simple web services that user java datatype like strings, ints and the like. In my case, the web services I should develop transfer custom information which are modeled as value classes or entity EJB's in my app. We deal with complex objects which contain collections/arrays/lists of other objects, and although most of the bussiness logic of the app is exposed via stateless session beanss and clases, I can not select their nethods since there ar no custom serializers for them.
    By reviewing the sample newsfeed web service I noticed that int their implementation they decided to "hard-code" the data by doing an XML-query to the db and constructing a custom XML document. this document is returned as a java string so the web-service is, at the end a very simple one, which uses no custom serializers. Of course there is code to create the XML doc, and there should be some XML parsing at the client in order to deserialize the XML into java in order to do something with it.
    My question is, is this the "preferred" method to deal with custom complex datatypes. should I include code in my beans and value classes so they "serialize" itself to XML so my web services have to deal with simple java strings? I have no experience in developing serializers, and I can't see why they are used? I am not sure which path should I follow, for example, should I use an array serializer to serialize a collection/array of object or should I better develop a method which will create a custom XML document repesenting the array? Are there any trade-off?
    I have to start development right away, so please give me some insinght.
    Thanks,
    Fedro.

    Yes, Oracle9iAS is currently production on 9.0.2. The target for OC4J 9.0.3 was end of summer but I have not seen it arrive yet. It is supposed to work in conjunction with 9.0.2 - i.e. you can use the OC4J 9.0.3 with the rest of your Oracle9iAS implementation. I think you are reasonably safe assuming it will be here by year end. I sit on the JDev side of the house so don't have specifics on what their actual delivery dates are but would guess sometime during September. The developer preview of OC4J 9.0.3 is currently available here on OTN as per the headline in the Web services Center at: http://otn.oracle.com/tech/webservices.
    There are two big advantages of OC4J 9.0.3:
    1. Interoperability testing ... it has been put through the SOAPBuilder's interoperability tests and includes a test suite for you to try it out 9.0.2 is fine here but you have evidence in 9.0.3;
    2. Feature/functionality - support for Web services based on JMS, document style Web service support, testing harness at the end-point, J2EE 1.3 certification, custom serialization support (not there in 9.0.2), cleaner PL/SQL based Web services and more - see:
    http://otn.oracle.com/products/ias/daily/jul22.html
    The development environment that goes along with it is JDeveloper 9.0.3. While OC4J 9.02/9.03 comes with what is called the Web services assembly tool for those who like scripting/command-driven approaches, JDev puts a traditional visual dev environment on top of the OC4J 9.0.3 environment (and also Apache SOAP 2.2/2.3.1, incidently) The developer preview of JDev 9.03 is due out within days here on OTN ... probably Tuesday based on what I understand. JDev 9.0.3 production is scheduled to arrive probably in late September mid-October.
    Hope this gives some background to help with your decision.
    Mike.

  • Web services deployment issue.

    Hello,
    I have created a new weblogic domain using wlst, and all the services and applications appear to have deployed correctly. However when testing any of the web services they do not work at all, going to the test pages or wsdl gives a 404 error. Under the monitoring tab only 5 servlets are listed, the equivalent deployment on an old non-wlst domain lists 8 servlets.
    Can anybody advise why 3 of the servlets have not been automatically created, no errors are in the logs. The missing servlets are ClasspathServlet, GetIORServlet and WebServiceServlet.
    Thanks

    I have finally managed to fix the problem, I'll post this solution in case any one else has the same problem and comes to this page.
    Our scripts set a few default properties for server mbeans one of which is defaultInternalServletsDisabled = 1, removing this and recreating the domain meant that all the necessary servlets were created and our web services worked fine.

  • [Oracle Web Service Manager] Issues working with gateway

    Hello,
    Whenever we create a gateway which have a component id other then "C0003001" then we have to create its entry in "gateway-config-installer" and restart soa suite, Why its like that? Ofcourse we can not restart the soa suite on production.
    Moreover, we created a second gateway, it was assinged with id "C0003003" (first one was having if "C0003002") , also we created its entry in "gateway-config-installer" and restarted soa suite, then it was observed that services with gateway C0003003 are working but services with gateway idC0003002 have stopped working. Does this means that only one gateway can be active at a given time?
    Also on some developer machines, service urls provided by the gateway are not working (Page not found error occurs). What can be the possible reasons?

    Hai munir,
    I have some doubt on registering with the gateway and an registering the webservice. I think you have done the same.
    I specify my hostname and ports. I am working on Oracle SOA 10.1.3.3.0.
    Hostname: http://DWH-34316-K2.wipro.com or (10.118.70.181) Port: 7777
    Component Name: - user defined gateway name or what?
    Component type : - gateway
    Component URL : I have doubt on giving this In my case If I give like this is it correct. http://DWH-34316-K2.wipro.com:7777/gateway
    After this we will be registering a webservice.
    In that it will be asking the following details.
    service name : CallHelloWorld (In my case)
    service version: 1.0
    service description : user defined.
    WSDL URL : --> Here how we must want to give. I have given the wsdl taken from the Enterprise manager console. I have taken it while we test the web service we will find the service decription and I clicked it and taken that it is working one.
    http://dwh-34316-k2.wipro.com:7777/orabpel/default/CallHelloWorld/1.0?WSDL
    After I all this and click Next and It will go to the Http messenger page and in this page in URL column the same WSDL url given is auto populated and save and commit this.
    When I go to test page and paste the URL got from the Service WSDL Url and give submit query it is displaying the following error message.
    Failed to read WSDL from http://dwh-34316-k2.wipro.com:7777/gateway/services/SID0003017?wsdl:WSDL not found
    Please specify any other changes do I need make some changes in the server otherthan changing the Id in the gateway-config-installer.properties
    Can you help on this please. It is somewhat urgent.
    Regards,
    Mahes.

  • Web Service Date Issue

    I'm having some difficulties using a date type as argument in
    a flex 2 soap webservice:
    wsdl expects this : <element name="endDate"
    type="date"/>
    actionscript 3 example :
    var sd : Date = new Date(2006, 11, 2);
    webservice.method('arg1', 'arg2', sd, 'arg4')
    This return an IO ERROR. When I sniff the request i noticed
    something strange : <endDate>2006-11-02Z<endDate>
    What's the 'Z' doing there?

    Use the change event.

Maybe you are looking for

  • Illustrator CS5 with Epson R1900 = aliasing lines

    Hi all, I've been searching for answers as to why my Epson R1900 is printing with aliased lines when printing from Illustrator (CS5), without much luck. I've read in another forum that it is perhaps a driver issue but have not found confirmation from

  • Referencing errors

    I am getting numerous referencing errors for this class. If anyone can help to shed some light on why I am getting these errors and how I can fix them, it would be greatly appreciated. Reptile.java:44: calculateAge() in Reptile cannot be applied to (

  • File limitation

    Hi, what is the maximum file size that is recomanded to transfer via XI would a 50 MB file work ? is it to big? Thanks,         Udi

  • HT201401 How to get my phone out of recovery mode?

    My phone is in recovery mode how do I get it out?

  • Installing 8.1.x on a 2.4.x kernel (some info)

    A while back I installed oracle 8i r2 on a 2 2.18 kernel, all went well. Recently I decided to remove it and start again, but this time with 8.1.7 on the 2.4.1 kernel. The installation stops to work when it goes to create the database, just after you