Omniportlet web service xsl filter

Hi,
i am using Oracle application server portal 10g (10.1.2)
Does anybody have a sample XSL filter that I can use to transform web service output to ROWSET/ROW form?
The XML data that is showed when I hit "Test" button is as follows and I just want to keep the ROWSET section.
I am doing anything wrong?
Suggestions appreciated.
Thanks in advance.
<SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<ns1:getXMLDocumnetResponse xmlns:ns1="MyJavaClass1WS" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
<return>
<ROWSET>
<!--Just a thought-->
<ROW Name="Joe"/>
<ROW Name="Alice"/>
<ROW Name="Smith"/>
</ROWSET>
</return>
</ns1:getXMLDocumnetResponse>
</SOAP-ENV:Body>

Thanks for your response. Unfortunately, it is running on a proprietary network and would not be available.
If the results are not in rowset/row format, what would happen? The reason I am asking is that I am getting a blank page when I don't use the xsl at all, but when I try to use the xsl, I get the error.
Is there a sample somewhere on oracle's site that I could look at? (I watched the omniportlet/webservice tutorial on PortalStudio, but their tutorial did not use an xsl filter, neither did it show the content of the files it used.)
Thank you.

Similar Messages

  • How to add a new filter in an existing web service method (BIWS - WEBI document)

    Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
    Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
    Any help will be great and points rewarded.
    Thank you
    Ann

    Hi Ann,
    The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
    Hope that helps.
    Regards,
    Tanisha

  • Testing failed when adding Web Service by OmniPortlet

    I am using Portal of 10gAS. In "Define your OmniPortlet", I selected "Web Service" as the data type. After I typed in the WSDL URL and selected a method, I clicked on Test button under the setion "Enter values for the method parameters". But I got error saying login failed. What's the account it tries to login? How can I fix it?
    The error varys, depending on which Method is selected from the list:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Web Service: Test Result
    Error
    Call to Web Service Failed. [SOAP-ENV:Server : java.sql.SQLException: ORA-01017: invalid username/password; logon denied at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:188)]
    ~~~~ or ~~~~~~~~~~~~~~~~~~~~~~~~~`
    <ns1:getEmpXMLResponse xmlns:ns1="oracle.otn.ws.scott.OTNDeptEmp" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <return>
    <ERROR>
    oracle.xml.sql.OracleXMLSQLException: ORA-01017: invalid username/password; logon denied
    </ERROR>
    </return>
    </ns1:getEmpXMLResponse>

    Hi,
    I beleive you are using the WebService
    http://otn.oracle.com/ws/oracle.otn.ws.scott.OTNDeptEmp?WSDL
    The error message displayed is what the web server
    is returning. Web server may encounter exceptions while executing any method.
    As a web service client, OmniPortlet will display the error messages returned
    by the web server.
    You can try a differrent WebService , it seems to be the issue with WebService
    Thanks
    Vineet

  • Omniportlet won't display web service

    When I put in a valid WSDL link ie.
    http://www.extensio.com:8080/ExtensioInfoServer/mbsoap/MBWSSoapServices.wsdl
    I only ever get:
    Failed to load WSDL file. Check the location of the WSDL. The WSDL file may have syntax errors.
    This is the case for all web services on xmethods.net.
    Any ideas?
    This is for a competitive situation.
    Many Thanks,
    Colin

    Hello Colin,
    In you are into a LAN you need to check the proxt configuration of the OmniPortlet (and Web Clipping)
    Go to the PortalTools application page:
    http://server:port/portalTools
    Regards
    Tugdual Grall

  • What Web service client does Omniportlet use?

    Does the omniportlet uses direct SOAP calls for Web service or use AXIS calls??
    Thanks
    JO

    Hello,
    As you may know OracleAS / JDeveloper has its own Web Service runtime and set of Tools. Omniportlet uses the Oracle AS Web Service Client API and WSDL tools to invoke dynamically SOAP based Web Services.
    I am curious to know why are you asking this question? Do you have specific requirements?
    Regards
    Tugdual Grall

  • Filter Expression in Web services

    Several OBIEE web services use the ReportParameters structure. Does anybody know what is the format of the filter expressions in the Report Parameters structure?

    Finally we get the code run, below is the 2 sample for equal and in operation:
    String filter =
    "<sawx:expr xsi:type=\"sawx:comparison\" op=\"equal\""+
    " xmlns:saw=\"com.siebel.analytics.web/report/v1\""+
    " xmlns:sawx=\"com.siebel.analytics.web/expression/v1\""+
    " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""+
    " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"+
    "<sawx:expr xsi:type=\"sawx:sqlExpression\">XZQH.Province</sawx:expr>"+
    "<sawx:expr xsi:type=\"xsd:string\">110000</sawx:expr>"+
    "</sawx:expr>";
    String filter =
    "<sawx:expr xsi:type=\"sawx:list\" op=\"in\""+
    " xmlns:saw=\"com.siebel.analytics.web/report/v1\""+
    " xmlns:sawx=\"com.siebel.analytics.web/expression/v1\""+
    " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""+
    " xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">"+
    "<sawx:expr xsi:type=\"sawx:sqlExpression\">XZQH.Province</sawx:expr>"+
    "<sawx:expr xsi:type=\"xsd:string\">110000</sawx:expr>"+
    "<sawx:expr xsi:type=\"xsd:string\">120000</sawx:expr>"+
    "<sawx:expr xsi:type=\"xsd:string\">130000</sawx:expr>"+
    "</sawx:expr>";

  • Doc/Literal Web Services in OmniPortlet

    Hi I was wondering if OmniPortlet has a problem calling Document/Literal type of Web Services? Because I tried calling 2 such WS, one of which is .NET, the other is developed in JDeveloper.
    In both cases, OminPortlet sends the encodingStyle attribute in its SOAP body, which shouldn't occur for doc/lit types right? The .NET WS can accept the request though, while the JDev one can't.

    This is the WSDL for the .NET service:
    <wsdl:definitions targetNamespace="http://tempuri.org/">
         <wsdl:types>
         <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
         <s:element name="HelloWorld">
    <s:complexType/>
    </s:element>
         <s:element name="HelloWorldResponse">
         <s:complexType>
         <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
         <wsdl:message name="HelloWorldSoapIn">
    <wsdl:part name="parameters" element="tns:HelloWorld"/>
    </wsdl:message>
         <wsdl:message name="HelloWorldSoapOut">
    <wsdl:part name="parameters" element="tns:HelloWorldResponse"/>
    </wsdl:message>
         <wsdl:portType name="ServiceSoap">
         <wsdl:operation name="HelloWorld">
    <wsdl:input message="tns:HelloWorldSoapIn"/>
    <wsdl:output message="tns:HelloWorldSoapOut"/>
    </wsdl:operation>
    </wsdl:portType>
         <wsdl:binding name="ServiceSoap" type="tns:ServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
         <wsdl:operation name="HelloWorld">
    <soap:operation soapAction="http://tempuri.org/HelloWorld" style="document"/>
         <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
         <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
         <wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
         <wsdl:operation name="HelloWorld">
    <soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document"/>
         <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
         <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
         <wsdl:service name="Service">
         <wsdl:port name="ServiceSoap" binding="tns:ServiceSoap">
    <soap:address location="http://137.132.1.150:83/service.asmx"/>
    </wsdl:port>
         <wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12">
    <soap12:address location="http://137.132.1.150:83/service.asmx"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • Applying report filter when using OBIEE web services

    Hi
    Would like to know if it's possible apply report filter when using the web serivce ? Read from Oracle doc that there's this applyReportParams() method in ReportEditingService that could do the job. Can anyone confirm this ?
    Currently we've tried to access the report using the WebCatalogService, read the xml and retrieve the result using the XMLViewService successfully. However there's an additional requirement to pass in the report filter on the fly.
    Thanks in advance

    Hi Gerardnico,
    I have a question regarding the OBIEE Web Services,
    We are using C # for Automation code to test Obiee Analysis Web Services,while designing filter in C # to call report we are facing difficulty with Presentation Variable using Variable value. Where as it is working fine for Column value.
    Note: The choice list has 2 custom values.
    So please guide me in this regard.
    Regards,
    Pj

  • OmniPortlet and Vignette VBIS Web Services

    Has anyone used OmniPortlet to connect to a Vignette Business Integration Studio (VBIS) developed web service? We have several VBIS web services which we've been using for a few years. When we attempt to configure an OmniPortlet to access these web services, OmniPortlet claims the WSDL doesn't define any methods. The WSDL looks valid and XMLSpy is able to detect the various WSDL components, so I have some confidence that the WSDL is valid. I've been able to access other (non-VBIS) WSDL and things work. So the question is why does OmniPortlet fail to detect methods in VBIS WSDL?
    Thanks.

    We almost gave up on webservices.oracle.com to get weather portlet working. Before I get convinced this a sample only, i wanted to install Oracle UDDI webservices registry on our apache server oracle home. I'd be interested in any developments in this direction.

  • Null Values From MS Web Services Toolkit Client

    Hi,
    I've been bashing my head against a wall on this one for too long now.
    I've got a JAX-WS web service deployed to Glassfish v2 b33 which works fine when called by a Java client. It also works fine when methods with no parameters are called from the MS client, i.e. simple and complex types are returned as they should be. However the problem I am having is that when the web service methods that take parameters are called from the MS client, the values received by the service are always null. I've montitored the service and values are being sent in the soap request, but a simple System.out.println statement in the first line of the method indicates a null value. I've captured a request from the Java client and the MS client to show the difference:
    A java request:
    <soapenv:Envelope
         xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <soapenv:Header/>
        <soapenv:Body>
         <ns0:getConfig xmlns:ns0="http://ws.firestorm.alternativenetworks.com/">
                 <arg0>Inbound</arg0>
         </ns0:getConfig>
        </soapenv:Body>
    </soapenv:Envelope>and a request from the web services toolkit:
    <SOAP-ENV:Envelope
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <SOAP-ENV:Header/>
         <SOAP-ENV:Body>
               <SOAPSDK4:getConfig xmlns:SOAPSDK4="http://ws.firestorm.alternativenetworks.com/">
              <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>
         </SOAPSDK4:getConfig>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>I've tried everything I can think of, including changing the style from RPC/LITERAL to DOCUMENT/LITERAL, but the Java web service just seem to like the way the SOAP message is wrapped up.
    Any help on this would be greatly appreciated.
    Cheers
    Tony

    Thanks Milan, your suggestion put me on the right track, however I've hit another snag.
    I decided the best way to solve the problem was to use the Glassfish Transformation Rules feature to take the SOAP request and transform it to a valid format before reaching the code. The XSLT file I created looks like this (I'm no XSLT guru so this will definitely need some tidying up, but for now it works): <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet  version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <xsl:output method="xml" indent="yes"/>
         <xsl:template match="*">
              <xsl:copy><xsl:copy-of select="@*"/><xsl:apply-templates/></xsl:copy>
         </xsl:template>
         <xsl:template match="/SOAP-ENV:Envelope/SOAP-ENV:Body/*">
              <xsl:copy>
                   <xsl:copy-of select="@*"/>
                   <xsl:for-each select="*">
                        <xsl:text disable-output-escaping="yes"><arg</xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                        <xsl:value-of select="."/>
                        <xsl:text disable-output-escaping="yes"></arg</xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                   </xsl:for-each>
              </xsl:copy>
         </xsl:template>
    </xsl:stylesheet> which transforms the problem SOAP request: <SOAP-ENV:Envelope
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <SOAP-ENV:Header/>
         <SOAP-ENV:Body>
               <SOAPSDK4:getConfig xmlns:SOAPSDK4="http://ws.firestorm.alternativenetworks.com/">
              <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>
         </SOAPSDK4:getConfig>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> to the following valid format: <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
       <SOAP-ENV:Header/>
       <SOAP-ENV:Body>
          <SOAPSDK4:getConfig xmlns:SOAPSDK4="http://ws.firestorm.alternativenetworks.com/">
         <arg0>Inbound</arg0>
          </SOAPSDK4:getConfig>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> But when I load the .xsl file using the Transformation Rules page and call the web service using the Microsoft Web Services Toolkit, I'm getting the following exception: [#|2007-05-11T09:23:46.530+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Thread-15;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530]]|#]
    [#|2007-05-11T09:27:31.675+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=httpWorkerThread-4848-0;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675]]|#]
    [#|2007-05-11T09:28:00.269+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    ERROR:  ''|#]
    [#|2007-05-11T09:28:00.285+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    com.sun.enterprise.admin.wsmgmt.transform.TransformException: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:238)
         at com.sun.enterprise.admin.wsmgmt.transform.TransformFilter.process(TransformFilter.java:144)
         at com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRouter.applyFilters(FilterRouter.java:69)
         at com.sun.enterprise.admin.wsmgmt.agent.GlobalMessageListenerImpl.processRequest(GlobalMessageListenerImpl.java:181)
         at com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl.processRequest(WebServiceEngineImpl.java:265)
         at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRequest(JAXWSEndpointImpl.java:53)
         at com.sun.enterprise.webservice.MonitoringPipe.process(MonitoringPipe.java:127)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:70)
         at com.sun.xml.ws.mex.server.MetadataServerPipe.process(MetadataServerPipe.java:97)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:191)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:113)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:208)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:374)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:100)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:74)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:187)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
         at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:328)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:651)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:224)
         ... 54 more
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1235)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TrAXFilter.parse(TrAXFilter.java:105)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:588)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:642)
         ... 56 moreCould this be a bug or am I doing something wrong?
    Cheers again,
    Tony

  • Web Service portlet in PDK (Urgent!!!)

    I have a .NET web service I would like to consume in the portal and present as a portlet. For several reason I do not want to use OMNI (not the least of the reasons is after 3 weeks of working with oracle tech support on a corresponding I still can’t get OMNI and WebClipping running)
    Either way, the WS consumption system with xsl/xslt controlled presentation as seen in Web Services sample provide in the PDK suits my needs a lot better.
    Now as I mentioned I have a .NET service running and well tested.
    I can indeed consume it and even apply XSL, what I can’t do however is to pass parameters to web service.
    I define portlet with something like:
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
              <id>25</id>
              <name>Listings</name>
              <title>Listings Web Service Portlet</title>
              <shortTitle>Phone Listings</shortTitle>
              <description>Web Service demonstration portlet.</description>
              <timeout>100</timeout>
              <timeoutMessage>portlet timed out</timeoutMessage>
              <acceptContentType>text/html</acceptContentType>
              <renderer class="oracle.portal.provider.v2.render.RenderManager">
              <contentType>text/html</contentType>
              <charSet>UTF-8</charSet>
              <showPage class="oracle.portal.provider.v2.webservice.DocWebServiceRenderer">
                   <contentType>text/html</contentType>
                   <logging>true</logging>
                   <endpointURL>http://myserver.com/webservices/listings.asmx</endpointURL>
                   <soapAction>http://myserver.com/webservices/getPerson</soapAction>
                   <literal class="oracle.portal.provider.v2.webservice.LiteralXML"
                   handler="oracle.portal.provider.v2.webservice.LiteralXML$Handler">
                   <element name="getPerson">
                        <attribute name="xmlns">http://myserver.com/webservices/</attribute>
                        <element name="inputStr"
                        bind="urlParams/lname"
                        default="Yu"
                        prompt="Please enter last name"/>
                   </element>
                   </literal>
                   <escapeOutput>false</escapeOutput>
              <responseXSL>listings.xsl</responseXSL>
              </showPage>
              </renderer>
         </portlet>
    This actually seem to work and in the …_literal.xml log file I can see something like that:
    <getPerson xmlns="http://myserver.com/webservices/">
    <inputStr xmlns="http://myserver.com/webservices/">Yukh</inputStr >
    </getPerson >
    (Yukh – is what I passed as urlParam)
    The problem however is that service that should run a query with “WHERE lname LIKE ‘<inputStr>%’” returns the whole datatable rather then only those records that starts with Yukh in the lname column. In short request parameter is ignored by web service (or not passed)
    The only difference between my portlet and samples (most of which don’t work as advertised by the way) is that oracle …_literal.xml log file doesn’t have xmlns in the sub elements
    <WhoIs xmlns="http://tempuri.org/">
    <DomainName>oracle.com</DomainName>
    </WhoIs>
    (I have no idea why mine does (I define no attributes for inputStr element)
    If you have any idea what I might be missing or doing wrong please let me know!!! I’ll greatly appreciate.

    We tried using Omniportlet. It expects the resultset in ROWSET/ROW format. Our .Net Webservice doesn't return in rowset/row. We tried transforming using XSL, but even then it didn't work.
    Thanks

  • SOAP receiver adapter error using Google Search web service

    Hi all,
    I'm trying to connect and old 4.5b system to XI SP16 to make it receive information from external Web Services.
    My scenario is made up of a sender RFC adapter and a SOAP receiver which is sending the message to the Google web service (http://api.google.com/GoogleSearch.wsdl) and then awaiting a response from it.
    I'm stuck with this error: "No Deserializer found to deserialize a ':key'". The problem is that XI is sending this kind of message:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key>mykey</key>
                   <q>testing</q>
                   <start>0</start>
                   <maxResults>1</maxResults>
                   <filter>true</filter>
                   <restrict>String</restrict>
                   <safeSearch>true</safeSearch>
                   <lr>String</lr>
                   <ie>String</ie>
                   <oe>String</oe>
              </m:doGoogleSearch>
    while Google is expecting this:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key xsi:type="xsd:string">mykey</key>
                   <q xsi:type="xsd:string">testing</q>
                   <start xsi:type="xsd:int">0</start>
                   <maxResults xsi:type="xsd:int">1</maxResults>
                   <filter xsi:type="xsd:boolean">true</filter>
                   <restrict xsi:type="xsd:string">String</restrict>
                   <safeSearch xsi:type="xsd:boolean">true</safeSearch>
                   <lr xsi:type="xsd:string">String</lr>
                   <ie xsi:type="xsd:string">String</ie>
                   <oe xsi:type="xsd:string">String</oe>
              </m:doGoogleSearch>
    with explicitly declared xsi:type.
    I've tested both messages with XMLSpy and the first one is always returning the same error.
    Is there a way to make XI send an XML message with written xsi:type?
    Many thanks in advance!
    Max

    Hi Ricardo!
    I followed your suggestion to create a simple XSLT mapping program (in the ABAP stack) and I added it to the Interface Mapping in the Integration Repository. The result is exactly the soap message that the Google web-service is expecting.
    I'm attaching the XSLT code below in case somebody has the same problem... thanks again for your hint!!
    Regards!
    Max
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sap="http://www.sap.com/sapxsl"
    >
    <xsl:strip-space elements="*"/>
    <xsl:template match="/">
    <ns1:doGoogleSearch xmlns:ns1="urn:GoogleSearch" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
          <key xsi:type="xsd:string"> <xsl:value-of select= "//key"/> </key>
          <q xsi:type="xsd:string"> <xsl:value-of select= "//q"/> </q>
          <start xsi:type="xsd:int"> <xsl:value-of select= "//start"/> </start>
          <maxResults xsi:type="xsd:int"> <xsl:value-of select= "//maxResults"/> </maxResults>
          <filter xsi:type="xsd:boolean"> <xsl:value-of select= "//filter"/> </filter>
          <restrict xsi:type="xsd:string"> <xsl:value-of select= "//restrict"/> </restrict>
          <safeSearch xsi:type="xsd:boolean"> <xsl:value-of select= "//safeSearch"/> </safeSearch>
          <lr xsi:type="xsd:string"> <xsl:value-of select= "//lr"/> </lr>
          <ie xsi:type="xsd:string"> <xsl:value-of select= "//ie"/> </ie>
          <oe xsi:type="xsd:string"> <xsl:value-of select= "//oe"/> </oe>
       </ns1:doGoogleSearch>
    </xsl:template>
    </xsl:transform>

  • Glassfish Web Service XSLT Transformation Not Working

    Hi,
    I've got a problem transforming an incoming soap request from a Microsoft Web Services Toolkit client. Basically, I've got a JAX-WS web service deployed to Glassfish v2 b33 which works fine when called by a Java client, but when called from the MS web services toolkit, some extra namespace elements are added to the SOAP request which the JAX-WS service doesn't seem to like. The incoming soap request looks like: <SOAP-ENV:Envelope
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <SOAP-ENV:Header/>
         <SOAP-ENV:Body>
               <SOAPSDK4:getConfig xmlns:SOAPSDK4="http://ws.firestorm.alternativenetworks.com/">
              <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>
         </SOAPSDK4:getConfig>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> The problem lies with <SOAPSDK4:arg0>Inbound</SOAPSDK4:arg0>, in that the inclusion of SOAPSDK4 for any arguments (i.e. arg0, arg1) results in the values for the arguments reaching the web service as null. I've tested sending the SOAP request with a tcpmon utility, and the same soap request (as above) without the SOAPSDK4 in the arg0 element (i.e. <arg0>Inbound</arg0>) works fine.
    So I tried using the Transformation feature of glassfish, transforming the incoming SOAP request using the following XSLT file which I have tested and am sure works (I'm no XSLT guru so this will definitely need some tidying up): <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet  version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
         xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
         xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
         xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/">
         <xsl:output method="xml" indent="yes"/>
         <xsl:template match="*">
              <xsl:copy><xsl:copy-of select="@*"/><xsl:apply-templates/></xsl:copy>
         </xsl:template>
         <xsl:template match="/SOAP-ENV:Envelope/SOAP-ENV:Body/*">
              <xsl:copy>
                   <xsl:copy-of select="@*"/>
                   <xsl:for-each select="*">
                        <xsl:text disable-output-escaping="yes"><arg></xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                        <xsl:value-of select="."/>
                        <xsl:text disable-output-escaping="yes"></arg></xsl:text>
                        <xsl:value-of select="position() - 1"/>
                        <xsl:text disable-output-escaping="yes">></xsl:text>
                   </xsl:for-each>
              </xsl:copy>
         </xsl:template>
    </xsl:stylesheet>I load the .xsl file using the Transformation utility which seems to work fine, but when a request comes in from the MS client I get the following error: [#|2007-05-11T09:23:46.530+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=15;_ThreadName=Thread-15;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:1, ts:1178871826530]]|#]
    [#|2007-05-11T09:27:31.675+0100|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=httpWorkerThread-4848-0;com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675];|ADM1041:Sent the event to instance:[com.sun.enterprise.admin.event.wsmgmt.TransformationRuleEvent -- server [1 Change(s), Id:2, ts:1178872051675]]|#]
    [#|2007-05-11T09:28:00.269+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    ERROR:  ''|#]
    [#|2007-05-11T09:28:00.285+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=89eadb09-2894-4ace-95f6-75043c1e6988;|
    com.sun.enterprise.admin.wsmgmt.transform.TransformException: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:238)
         at com.sun.enterprise.admin.wsmgmt.transform.TransformFilter.process(TransformFilter.java:144)
         at com.sun.enterprise.admin.wsmgmt.filter.spi.FilterRouter.applyFilters(FilterRouter.java:69)
         at com.sun.enterprise.admin.wsmgmt.agent.GlobalMessageListenerImpl.processRequest(GlobalMessageListenerImpl.java:181)
         at com.sun.enterprise.webservice.monitoring.WebServiceEngineImpl.processRequest(WebServiceEngineImpl.java:265)
         at com.sun.enterprise.webservice.monitoring.JAXWSEndpointImpl.processRequest(JAXWSEndpointImpl.java:53)
         at com.sun.enterprise.webservice.MonitoringPipe.process(MonitoringPipe.java:127)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.api.pipe.helper.AbstractTubeImpl.process(AbstractTubeImpl.java:70)
         at com.sun.xml.ws.mex.server.MetadataServerPipe.process(MetadataServerPipe.java:97)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:191)
         at com.sun.enterprise.webservice.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:113)
         at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:79)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
         at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:208)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:374)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:175)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:100)
         at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:74)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:187)
         at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:101)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:207)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:249)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
         at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:328)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:651)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:281)
         at com.sun.enterprise.admin.wsmgmt.transform.FilterChain.process(FilterChain.java:224)
         ... 54 more
    Caused by: java.lang.NullPointerException
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1235)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TrAXFilter.parse(TrAXFilter.java:105)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:588)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:642)
         ... 56 more Could this be a bug in Glassfish or am I overlooking something or doing things completely wrong?
    Cheers.

    How are you passing the input to XSLT?
    If your input request is following:
    <cus:InputParameters xmlns:cus="http://www.tcs.com/Customer">
    <cus:customerID>2</cus:customerID>
    </cus:InputParameters>Then you should pass $body/cus:InputParameters as the Input document for bind input in Proxy Service.

  • Web Services API Sample w/ Filters

    Does anyone know how to use a Filter in a doOracleSearch call using the Java proxies supplied for the Web Services API? I tried doing this but it appears there is a conflict with Servlet Filter class. When I used the complete path to the class, it compiles, but upon deployment and execution on OC4J I get a symbol not found error. Here is an excerpt of the problem code:
    if( query != null && search_type.equals("advanced") )
    String str_doc_type = request.getParameter("document_type");
    int start = orderByDate ? 1 : startIndex;
    int hits = orderByDate ? recencyHits : pageHitCount;
    oracle.search.query.webservice.client.Filter[] myfilterArray = null;
    oracle.search.query.webservice.client.Filter filterDocType = new oracle.search.query.webservice.client.Filter(112,"string","equals","4918");
    myfilterArray[0] = filterDocType;
    try
    res = ctx.doOracleSearch(
    query, // query
    new Integer( start ), // start index
    new Integer( hits ), // documents requested
    Boolean.TRUE, // duplicates removed
    Boolean.FALSE, // duplicates marked
    groups, // data groups
    locale.getLanguage(), // query language
    null, // document language
    Boolean.TRUE, // return count
    null, // filter connector
    myfilterArray, // filters
    null // fetch attributes
    catch( Exception e )
    searchException = e;
    }

    Hi,
    I am trying to deploy this sample application. I received the following error:
    [oracle@dev1 home]$ /home/oracle/oracle/product/10.1.8/ses1/jdk/jre/bin/java -ja
    r /home/oracle/oracle/product/10.1.8/ses1/oc4j/j2ee/home/admin_client.jar deploy
    er:oc4j:dev1.psa:5740 oc4jadmin oraidev1 -deploy -file /home/oracle/oracle/produ
    ct/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/sample.ear -deploymentName ses
    _query -bindAllWebApps http-web-site
    08/05/20 11:20:29 Notification ==>Application Deployer for ses_query STARTS.
    08/05/20 11:20:29 Notification ==>Copy the archive to /home/oracle/oracle/produc
    t/10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear
    08/05/20 11:20:29 Notification ==>Initialize /home/oracle/oracle/product/10.1.8/
    ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query.ear begins...
    08/05/20 11:20:29 Notification ==>Unpacking ses_query.ear
    08/05/20 11:20:29 Notification ==>Error while unpacking ses_query.ear
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at oracle.oc4j.util.FileUtils.unjar(FileUtils.java:309)
    at oracle.oc4j.util.FileUtils.autoUnpack(FileUtils.java:488)
    at com.evermind.server.deployment.EnterpriseArchive.<init>(EnterpriseArc
    hive.java:234)
    at oracle.oc4j.admin.internal.ApplicationDeployer.initArchive(Applicatio
    nDeployer.java:412)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:187)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:534)
    08/05/20 11:20:29 Notification ==>Operation failed with error:
    Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
    /10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
    xml)
    Deploy error: Deploy error: Operation failed with error:
    Unable to find/read file META-INF/application.xml in /home/oracle/oracle/product
    /10.1.8/ses1/oc4j/j2ee/OC4J_SEARCH/applications/ses_query (META-INF/application.
    xml)
    Please help!!
    Thanks!
    Regards,
    Deva

  • SSO to a Web Service from Portal

    Hi All,
    I have EP deployed on machine A, and my web application deployed on machine B, and I need to get SSO enabled between EP and the web application. Machine B is a Windows 2003 Server, and has the ISAPI filter installed to get at the HTTP_REMOTE_USER from the server variables, when I come from the EP. The web application on machine B is able to get the HTTP_REMOTE_USER server variable. This web application is an ASP.Net application, which calls web services in order to do any processing, including logging in a user. The flow looks like this:
    EP -> web app page -> redirect to login page -> check if HTTP_REMOTE_USER is present, if so, call web service to login user.
    The problem is this: when in the login page, I get at the HTTP_REMOTE_USER, which only gives me a user name. In order to actually log the user in, I need to call a web method, passing in a user name and a password. However, I don't have a password, and if I put a web method to login the user without the password check, it becomes a security hole. I hence need to check for the HTTP_REMOTE_USER in my web service layer as well, but I don't seem to be able to get at the HTTP_REMOTE_USER in the web service. At present, both web service and web application are on the same machine, but I still don't get the server variable. Isn't the web service (yet another) HTTP-based application, which should be able to get at the server variables? How do I get at the server variables to flow to the web service as well?
    In addition, I need to also do the following: I need to create an iView, which will call web methods on the web service. The web service uses WSE 1.0, and validates to check that there is a UsernameToken present. So, I need something similar to the above, wherein the web service can "figure out" that it is being called from the iView, and can skip the validation.
    Regards,
    Vivek
    PS - Points will be definitely rewarded

    Hi,
    Can anyone pls help me with this.
    Any ideas are most welcome.
    Regards,
    Vivek

Maybe you are looking for

  • How can i make a suggestion for a new IOS

    Hello everybody y would like to know if i can make any suggestion for a new IOS cause there is some new things y would like it to have.Thanks.

  • Can you connect a ps3 to your Mac using apple tv?

    Can you connect a ps3 to your Mac using apple tv?

  • (How do I/Can I) use this CD to install XP on my macbook?

    Here's the CD in question: http://img227.imageshack.us/img227/1971/dellcdhv0.jpg Do I need Microsoft Virtual PC? Do I need BootCamp? Will my Dell reinstallation CD even work? Any help would be appreciated... MacBook Pro   Mac OS X (10.4.7)  

  • How does one, edit text using Preview?

    Hi all, I have recently created a document using Preview...The document includes text that I inserted using the text tool within Preview itself...I was able to edit these text windows quite freely during the creation of the document... However, today

  • Can't get back favorite App

    Hi, a question from a Newbie. I purchsed my Nat Geo app (digital Magazine) and all was well. Then I decided to upgrade the software of my iPad to iOS 5 and the problems started. I had backed up the iPad. After the upgrade, I did a sync, but did not g