Web Svr 6.1 SP4 App Svr 8.1 integration service-passthrough Working example

This is a verbatim example from a working installation.
Pathnames etc will differ from this example.
This is an example of the integration of SUN Java System Web Server 6.1 SP 4 and
SUN Java System Application Server 8.1 2005Q1.
The scope of this integration is successfully accessing a working application
hosted on the application server by making HTTP requests to the web server.
Download and install the "Reverse Proxy Plug-in"
The "Sun Java System Web Server 6.1 Add-Ons" download from sun.com
includes the libpassthrough.so shared object.
libpassthrough.so includes the required passthrough Server Application Function(s) (SAF).
The output of the strings command on libpassthrough.so followed by a
grep for passthrough will list the available Server Application Function(s).
strings libpassthrough.so | grep -i passthrough
magnus.conf file edits.
/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/https-menfi.houston.rr.com/config/magnus.conf
Add this line.
Init fn="load-modules" shlib="/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/plugins/passthrough/libpassthrough.so"
obj.conf edits.
NameTrans fn="assign-name" from="/pwc(|/*)" name="passthrough"
Position of the NameTrans directive is significant.
The NameTrans directives are sequentially searched until a match is found.
One and only one NameTrans directive is utilized for the
NameTrans stage of each HTTP request.
My configuration had this directive as the first NameTrans directive of the obj.conf file.
<Object name="passthrough">
Service fn="service-passthrough" servers="http://192.168.1.199:8080"
</Object>
Once a NameTrans match is found the corresponding Object
within the obj.conf file is utilized.
In this example the name attribute of the NameTrans directive corresponds
to the name attribute of the Object.
The Service directive invokes the service-passthrough Server Application Function (SAF)
of the libpassthrough.so.
The servers argument is passed to the service-passthrough function.
HTTP requests made directly to the application server where the application is hosted
are sussessful. Note the 8080 port in the URL.
http://localhost:8080/pwc/PWCUnprotected
HTTP requests made to the WebServer are successful as well.
The requests are "passed through" between the Web Server
and the Application Server.
http://localhost:80/pwc/PWCUnprotected
http://localhost/pwc/PWCUnprotected
LOG FILES
success note 200 HTTP status code
failure note XXX in URL and 404 HTTP status code
Web Server
/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/https-menfi.houston.rr.com/logs/access
127.0.0.1 - - [08/May/2005:23:53:51 -0500] "GET /pwc/PWCUnprotected HTTP/1.1" 200 185
127.0.0.1 - 09/May/2005:00:02:34 -0500 GET /pwc/PWCUnprotectedXXX HTTP/1.1 404 1003
Application Server
/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/https-menfi.houston.rr.com/logs/access/server_access_log
192.168.1.199 - 08/May/2005:23:53:51 -0500 GET /pwc/PWCUnprotected HTTP/1.1 200 185
127.0.0.1 - 09/May/2005:00:02:34 -0500 GET /pwc/PWCUnprotectedXXX HTTP/1.1 404 1003
The log files illustrate the NameTrans wild card behavior
NameTrans fn="assign-name" from="/pwc(|/*)" name="passthrough"
All requests of the pwc context are passed on to the application server from the
web server as expected.
A nominal start of the server from the Web Server Manager yields the following output.
magnus.conf, obj.conf edit/configuration errors may be seen here.
Status:
[https-menfi.houston.rr.com]: Sun ONE Web Server 6.1SP4 B12/16/2004 11:42
[https-menfi.houston.rr.com]: info: PASS1000: Sun ONE Web Server 6.1SP4 Reverse Proxy Plugin B10/14/2004 13:18
[https-menfi.houston.rr.com]: info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_01] from [Sun Microsystems Inc.]
[https-menfi.houston.rr.com]: info: WEB0100: Loading web module in virtual server [https-menfi.houston.rr.com] at [simple]
[https-menfi.houston.rr.com]: info: WEB0100: Loading web module in virtual server [https-menfi.houston.rr.com] at [search]
[https-menfi.houston.rr.com]: info: HTTP3072: [LS ls1] http://menfi.houston.rr.com:80 ready to accept requests
[https-menfi.houston.rr.com]: startup: server started successfully
Success!
The server https-menfi.houston.rr.com has started up.
The Release Notes for Sun Java System Web Server 6.1 Add-Ons Reverse Proxy Plugin
http://docs.sun.com/source/819-0902-05/rpp61.html
are well complemented by -
Sun Java System Web Server 6.1 SP4 Administrator's Configuration File Reference
http://docs.sun.com/app/docs/doc/817-6248
Sun Java System Web Server 6.1 SP4 NSAPI Programmer's Guide
http://docs.sun.com/app/docs/doc/817-6252
Files from the working installation.
magnus.conf
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /export/home/accesmanagerinstalldir/opt/SUNWwbsvr
ServerName menfi.houston.rr.com
ServerID https-menfi.houston.rr.com
RqThrottle 128
DNS off
Security off
PidLog /export/home/accesmanagerinstalldir/opt/SUNWwbsvr/https-menfi.houston.rr.com/logs/pid
User webservd
StackSize 131072
TempDir /tmp/https-menfi.houston.rr.com-25a6f9e8
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-modules" shlib="/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
Init fn="load-modules" shlib="/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/plugins/passthrough/libpassthrough.so"
obj.conf
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="assign-name" from="/pwc(|/*)" name="passthrough"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn=pfx2dir from=/mc-icons dir="/export/home/accesmanagerinstalldir/opt/SUNWwbsvr/ns-icons" name="es-internal"
NameTrans fn=document-root root="$docroot"
PathCheck fn=unix-uri-clean
PathCheck fn="check-acl" acl="default"
PathCheck fn=find-pathinfo
PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
ObjectType fn=type-by-extension
ObjectType fn=force-type type=text/plain
Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
Service method=TRACE fn=service-trace
Error fn="error-j2ee"
AddLog fn=flex-log name="access"
</Object>
<Object name="passthrough">
Service fn="service-passthrough" servers="http://192.168.1.199:8080"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</Object>
<Object name="cgi">
ObjectType fn=force-type type=magnus-internal/cgi
Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="send-compressed">
PathCheck fn="find-compressed"
</Object>
<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>

Thanks ur post helpme lot
Thanks again
madhu

Similar Messages

  • Connecting to Oracle 9i with Sun One Web Server 6.1 SP4

    I have an application that connects to an Oracle 9i database. When I run iPlanet 4.1, I am able to login to the application and run it. Since I have migrated to Sun One Web Server 6.1 SP4, I have not been able to login. Through some built in error logging, I have been able to determine that my user validation routine is receiving a Null pointer when it trys to connect to the database. I have also determined that my login servlet is executing properly. When I receive the Null pointer error, I am redirected to a failed login page, which is what is supposed to happen in such a case. I believe that I do not have the web server configured properly to connect to the database and I am not sure how to do it! Below is an excerpt from my code where the database connection occurs and the exception is detected. Any help would be appreciated!
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              oracleConnect = DriverManager.getConnection("jdbc:oracle:thin:@" + chost + ":" + cport + ":" + csid ,u,p);
         enable = true;
    oracleConnect.close();
    }catch(java.sql.SQLException e){processError.logError("validateUser Invalue user" + e.getMessage()); enable = false;}
    catch(java.io.FileNotFoundException e){processError.logError("validate User error" + e.getMessage());}
    catch(java.io.IOException e){processError.logError("evalidateUser rror File Error " + e.getMessage());}
    catch(java.lang.NullPointerException e){processError.logError("validateUser error Null Pointer " + e.getMessage());}

    You are not using the server's built in JDBC Connection pooling, so there is no special WebServer configuration needed to connect to a database.
    If in the other hand, you want to use the built in connection pooling, then refer to this page to see how to create a connection pool
    http://docs.sun.com/source/817-1831-10/agjava.html#wp1085593
    Samples on how to configure and use JDBC connection pooling can be found in the sample apps
    http://docs.sun.com/source/817-1833-10/pwawap.html#wp40108

  • I have an iPod Touch and am going on a cruise where I have been told that I won't be able to use Safari so I should download Firefox.  I found "Mercury Web Browser" Firefox at the app store.  Is this what I need? I'm leaving on Sept. 3rd.

    I have an iPod Touch and am going on a cruise where I have been told that Safari won't work on the ship so I need to download Firefox. My iPod said that Safari cna't download it from the Firefox website.  I found "Mercury Web Browser" Firefox, in the app store (free) and am wondering if that is what I need?  Help, I'm leaving on Sept. 3/12.  Thanks.

    - I never heard that but it may be true. It could be that for some reason Safari can't be used to log into the network. Once logged in, Safari should work fine
    - However, I see nothing that say the Mercury Web Browser is Firefox. I would contact the cruise line and ask if and how you use the ship's['s wifi for an iPhone or iPad (it will apply to iPod touch)

  • Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    Can i use Report viewer web part in SharePoint 2013 app to show SSRS reports?

    SharePoint app you mean a simple sharePoint 2013 application like site, team site etc, or do you mean an App (the new feature like webPart).
    To add a SSRS Report viewver web part follow these steps
    1. Edit the page
    2. Choose insert a webpart
    3.Select SQL server Reporting -> SQL Server Reporting Services Report Viewer webpart
    4. Configure the webpart to show your .rdl files.
    (See the img below. Plz mark as answered if it helps).

  • Is there a web site that reviews Android apps?

    I'm new to Android.  When looking for apps -- in this case software to scan business cards -- I'm overwhelmed by the number of apps.  The info on Google Play isn't very helpful.  Are there web sites that review Android Apps?

        Hi RJLweb! You ask the same question that I've asked when shopping apps. Yes, we do have a site for application reviews of some of the more popular apps. You can check them out at this link: http://vz.to/1izJFxO
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Sun ONE Web Server 6.0 SP4 EOSL

    Hi,
    I'm having "issues" tracking down information about the status of this version of the Web Server. I'm basically tring to determine if it has gone EOSL or not as we're making a decision on whether or not to upgrade to something a little more recent!
    Thanks in advance
    jezter

    Sun generally doesn't announce EOSL (End Of Service Life) for Web Server service packs, so you're likely to get conflicting answers when you ask about 6.0 SP4 EOSL. 6.0 SP4 was de facto EOSL as soon as 6.0 SP5 was released. No bug fixes will be backported from SP5 to SP4, and the first step in isolating a problem uncovered in 6.0 SP4 will be to apply the current service pack, 6.0 SP9.
    Instead, Sun announces EOSL for versions like "iPlanet Web Server 6.0". iPlanet Web Server 6.0 EOL (End Of Life) was 05/2004. It will be EOSL 05/2009.
    If you're using 6.0 SP4, you should apply the latest service pack as soon as possible. Critical security vulnerabilities have been addressed by subsequent service packs.

  • Unable to view full contents on some web sites, is there an App anyone can recommend?

    Unable to view full contents of some web sites, is there an App that anyone can recommend?

    Hi,
    If you have problems reading flashcontent you can use: CloudBrowse 3.0.1
    Best regards,
    Maurice

  • Java Web Server 6.1 SP4 Internal Server Error

    All,
    I have recently installed the Sun ONE Web Server 6.1 SP4 on a Windows XP Professional machine. The installation goes fine, and I receive no errors. I then start the admin server so that I may create a new instance and deploy my servlets. The server starts up without error, but when I try to access the admin console through
    http://mycomputername:adminportnumber I get an internal server error after entering my admin username and password. I red in aother forum that this error sometimes results if the Java Directory Server is running on the same machine, but I assure you that this is not the case in this scenario. Any help leading to the resolution of this problem would be greatly appreciated.

    This could happen if you have NSS DLLs like nss3.dll in your <windows>/system32 directory.
    Please check if this is the case.
    Installing Directory Server on the same machine is one of the ways in which these DLLs get into <windows>/system32 directory. There could be other ways.

  • Unable to start sun java web server 6.1 SP4

    Hi,
    I have recently installed sun java web server 6.1 SP4 on solaris 10. The directory structure it created was completely different from the one mentioned in the documentation. I could not find the https-adminserv directory under the web server root directory. Instead the closest directory was bin/https/httpadmin/bin directory. On executing ./start it gave an error
    ld.so.1: start: fatal: libssl3.so: open failed: No such file or directory
    Killed
    Any help is welcome. Thanks.
    I had not installed the webserver in the standard location /opt/SUNWwbsrvr but in /BCP partition.

    also, you can do something like
    cd https-admserv
    sh -x start
    this will show as to what is the current LD_LIBRARY_PATH is pointing to and why ssl3.so is not getting loaded.
    if you don't see
    https-* under web server install root directory, then something wrong with your installation as well.
    yes, if u stand alone version of web server, then you shouldn't run into any dependencies issue. u can also get 6.1 sp6 version from web - http://www.sun.com/webserver

  • Pool error Web Server 6.1 SP4 solaris 10

    I have a web instance with a pool defined in "JDBC Connection Pools", but, when I execute a servlet than find (lookup), the JNDI names, not find nothing (listContext method).
    When I find by the exact name:
    InitialContext ctx= new InitialContext();
    datasource = (DataSource) ctx.lookup("jdbc/POOL");
    Throws a exception:
    javax.naming.NameNotFoundException: WEB3885: Name jdbc is not bound in this Context
    at org.apache.naming.NamingContext.lookup(NamingContext.java:811)
    at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
    at org.apache.naming.SelectorContext.lookup(SelectorContext.java:183)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    may be happening?
    The web server is installed on SunOS 5.10 Generic_118833-36 sun4v sparc SUNW,SPARC-Enterprise-T2000
    I need help,
    Jorge
    I have configured a pool in my web instance as following:
    *** server.xml:
    <RESOURCES>
    <JDBCCONNECTIONPOOL name="mypool" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-committed" isolationlevelguaranteed="off">
    <PROPERTY name="User" value="user"/>
    <PROPERTY name="URL" value="jdbc:oracle:thin:@<ip>:<port>:<sid>"/>
    <PROPERTY name="Password" value="passwd"/>
    </JDBCCONNECTIONPOOL>
    <JDBCRESOURCE jndiname="jdbc/POOL" poolname="mypool" enabled="on"/>
    </RESOURCES>
    *** web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "file:/C:/iPlanet/Servers/bin/https/dtds/web-app_2_2.dtd">
    <web-app>
    <resource-ref>
    <description>example</description>
    <res-ref-name>jdbc/POOL</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    *** sun-web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE sun-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Sun ONE Web Server 6.1 Servlet 2.3//EN' 'http://www.sun.com/software/dtd/appserver/sun-web-app_2_3-1.dtd'>
    <sun-web-app>
    <resource-ref>
    <res-ref-name>jdbc/POOL</res-ref-name>
    <jndi-name>jdbc/POOL</jndi-name>
    </resource-ref>
    </sun-web-app>
    *** Code at a servlet:
    InitialContext ctx = new InitialContext();
    listContext((Context) ctx, "");
         * Recursively exhaust the JNDI tree
         private static final void listContext(Context ctx, String ruta)
              try
                   NamingEnumeration listanombresjndi = ctx.listBindings("");
                   while (listanombresjndi.hasMore())
                        Binding item = (Binding) listanombresjndi.next();
                        String className = item.getClassName();
                        String name = item.getName();
                        System.err.println(ruta + className + " " + name);
                        Object o = item.getObject();
                        if (o instanceof javax.naming.Context)
                             listContext((Context) o, ruta + " ");
              catch (NamingException ex)
                   System.err.println("JNDI failure: " + ex);
                   ex.printStackTrace();
         }

    Hi,
    with these instructions work properly, why?
    On a Sun Web Server SP11 windows is not necessary to realize that, and it works correctly without these indications
    is a bug?
    Thanks in advance
    CesarJorge

  • My new iphone4 won't connect to the app store or iTunes. It says cannot connect to iTunes. But I logged into the game center and onto this web sit. I tryed some fixes on here but nothing has worked. Suggestions?

    My new iphone4 won't connect to the app store or iTunes. It says cannot connect to iTunes. But I logged into the game center and onto this web sit. I tryed some fixes on here but nothing has worked. Suggestions?

    HI again Andy,
    The last message had some more stuff in between the "Hello" and "Regards" - I have no idea what happened to it. But nevermind...
    I started up the Mini with the modem in one usb, and the speaker system in the other (M-Audio Sonica Theatre) - I have one of the Minis that have only 2 USB (and one FireWire) ports. The firewire has the external drive connected to it.
    So far, as I"m typing this, I AM able to be online and use iTunes simultaneously. (both SaFari and iTunes respond slower than if I was using only one or the other, but they ARE actually working - in addition to having Adium running) - So I think what you suggested ( that is was something wonky was the USB hub) was a correct, yet assessment.
    Would you have any reccommendations for USB hubs? The only thing that I have connected to the hub under normal circumstances that would be constantly "running" would be the RadioShark (even though the Radio soft isn't playing - the blue light on the RadioShark is always on) - and the speakers naturally. Everything else is of the occassional variety - iPod Sync Cable, Dual Layer External DVD Burner, and a "pass thu" to the USB ports on my Hard Drive Enclosure (which had been unplugged before the problem was noticed). The hub I current use is the
    Kensington DomeHub USB 2.0 (7 ports) Weighted Hub 33118 http://www.amazon.com/Kensington-DomeHub-ports-Weighted-33118/dp/B0002FHENE/ref= sr16/002-4275642-8664817?ie=UTF8&s=electronics&qid=1187848108&sr=8-6
    which (I thought) worked better than the "throwaway" ones I had used previously.
    You think it is the hub or something connected to it that may be causing the problem?
    Regardless, thank you for your time, and I hope to hear from you soon.

  • Web Services Not Working because wwv_flow_collections view is empty

    Hello,
    I followed this example to try and get a web service running in my Application:
    http://apex.oracle.com/i/doc/advnc_rest_web_eg_2.htm
    When I run the page and enter the zip code 43221 they recommend with a radius of 5, I get no results. When debugging and throwing the query into SQL Dev, I have no records in my wwv_flow_collections view. Looking at the tables that comprise the view, wwv_flow_collections$ and wwv_flow_collection_members$, these two tables would join on c.id = m.collection_id alone, but there are additional in-line selects involving the DUAL table that make the query return 0 records and therefore the view is empty. I've never messed with these views/tables, are these auto-populated by APEX? Can they be updated? Right now I cannot get any web services to work because of this. Here is the from clause for the wwv_flow_collections view:
    FROM
    wwv_flow_collections$ c,
    wwv_flow_collection_members$ m
    WHERE
    c.session_id =
    SELECT
    v('SESSION')
    FROM
    dual
    AND c.security_group_id =
    SELECT
    wwv_flow.get_sgid
    FROM
    dual
    AND c.id = m.collection_id
    AND c.flow_id =
    SELECT
    nv('FLOW_ID')
    FROM
    dual
    Can anyone help? Thanks in advance!
    John

    John,
    I have been working this week to set up the exact same thing and got the same empty result set that you have. In this case I believe it has nothing to do with APEX. I downloaded soapUI 4.0.1 which tests web services and used the WSDL described in the APEX Webservices tutorial for http://www.ignyte.com/webservices/ignyte.whatsshowing.webservice/moviefunctions.asmx?wsdl to create the same sample requests. It also returns no results.
    So, I decided to use a different public WSDL and try to get it working. Here are my steps taken below:
    BACKGROUND:
    - I am using APEX 4.0 on an 11gR2 database, with ACLS set up for the APEX schema this app is using.
    - First off, the site I used I just found through google. It is a currency conversion rate webservice. It is explained here: http://www.webservicex.net/CurrencyConvertor.asmx
    - The WSDL is found here: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    SETTING UP THE WEBSERVICE:
    1. In a new APEX application I went to "*Shared Components*" -> "*Web Service References*" -> "*Create*" to create a new web service reference
    2. Selected manual
    3. Called the webservice CURRENCY_TEST
    4. Set the URL to http://www.webservicex.net/CurrencyConvertor.asmx
    5. Set the Action to http://www.webserviceX.NET/ConversionRate (Action can be found in the WSDL - showing a few lines below)
    <pre class="jive-pre">
    <wsdl:binding name="CurrencyConvertorSoap" type="tns:CurrencyConvertorSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="ConversionRate">
    <soap:operation soapAction="*http://www.webserviceX.NET/ConversionRate*" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    </pre>
    6. WSDL explains that the version is *1.1* in this case. (However, this same WSDL has the same operation for 1.2 so it probably would work)
    7. No Authentication
    8. soapUI 4.0.1 gave me the soap request which in this case is the following:
    <pre class="jive-pre">
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET/">
    <soapenv:Header/>
    <soapenv:Body>
    <web:ConversionRate>
    <web:FromCurrency>#FROM_CURRENCY#</web:FromCurrency>
    <web:ToCurrency>#TO_CURRENCY#</web:ToCurrency>
    </web:ConversionRate>
    </soapenv:Body>
    </soapenv:Envelope>
    </pre>
    9. Stored response in collection CURRENCY_COLLECTION
    10. Saved my web service reference
    11. Test the web service reference (you have to be on the web service references page and instead of the icon view of the report, use the list view. Click on the test icon to test the web service)
    12. On the test page, change #FROM_CURRENCY# to USD (for US dollars) and #TO_CURRENCY# to EUR (Euros)
    13. Click the test button and you should see a valid soap response with a currency rate within the ConversionRateResult tags
    USING THE WEBSERVICE AND GETTING RESULTS:
    1. Went back to the application and hit "*Create Page*" -> "*Form*" -> "*Form and Report on Web Service*"
    2. Selected my CURRENCY_TEST web service reference
    3. Next on the next page
    4. For input parameters, left the defaults to create 2 inputs, From_Currency and To_Currency
    5. Soap Style for this is Document (found in the WSDL as an attribute just after the soapAction attribute in the WSDL snippet above)
    6. Message Format is Literal (Also found above in the wsdl:output for this operation under the use attribute)
    7. XPATH is a bit complicated. In this case put */ConversionRateResponse* (I used the soapUI 4.0.1 to send the request and get back the soap response to see what the response tags would include and which path I'm going to)
    8. Message Namespace is http://www.webserviceX.NET/ (which is also found in the response soap message - I'd really recommend a tool to test this outside of APEX)
    9. For Parameter Names there is only one and it is ConversionRateResult (also found in the response soap message)
    10. Finish and run the report.
    OTHER GOTCHAS:
    So I finally got this to work, but in my case I was querying a remedy webservice and the xml tags I get back are all xmlns:ns0 and all response tags prefaced with ns0:
    In this case I had to after using the wizard go back and edit my query to change xmlns to xmlns:ns0 since the builder only assumes xmlns.
    <pre class="jive-pre">
    select extractValue(value(t),'/*/ns0:Assigned_Group','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Assigned_Group"
    , extractValue(value(t),'/*/ns0:Assignee','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Assignee"
    , extractValue(value(t),'/*/ns0:Resolution','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Resolution"
    , extractValue(value(t),'/*/ns0:Status','xmlns:ns0="urn:HPD_IncidentInterface_WS"') "Status"
    from wwv_flow_collections c,
    table(xmlsequence(extract(c.xmltype001,'//ns0:HelpDesk_Query_ServiceResponse','xmlns:ns0="urn:HPD_IncidentInterface_WS"'))) t
    where c.collection_name = 'INCIDENT_TEST'
    </pre>
    Good Luck!
    Jonathon

  • App Server Halts during the execution !!! service-passthrough error 500

    We have 1.4 JAVA Application hosted by SunOne Server 7 2004Q2UR5
    The setup is that user will first get into sun web server which in turn will do pass through to App server to get /appweb/index.jsp page.
    We are getting into repeated situation where web server started getting following error and during that time server.log on the application instance will not display any log [like app server freezes]
    [01/Feb/2008:10:39:42] warning ( 603): for host 132.XXX.48.49 trying to GET /appweb/Index.jsp, service-passthrough reports: PASS1034: https://144.100.XX.XX:9220 returned error code 500 [01/Feb/2008:10:39:43] warning ( 603): for host 132.XXX.48.49 trying to GET /cwaweb/Index.jsp, service-passthrough reports: PASS1034: https://144.100.XX.XX:9220 returned error code 500 [01/Feb/2008:10:41:27] warning ( 603): for host 132.XXX.48.49 trying to GET /cwaweb/Index.jsp, service-passthrough reports: PASS1034: https://144.100.XX.XX:9220 returned error code 500
    Can anyone tell where the issue is??? TIA

    Could you run this query from management studio in test?
    select convert(varchar,max(ProcessDate),101) from I_Loans
    It could be something to do with the ProcessDate value which had issues to convert
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • App Management and Subscription Settings service applications

    Hi,
    I am upgradind SharePoint 2010 services to SharePoint 2013. I have updated UPS, Metadata, Search, Secure Store and now I want to configure App Management and Subscription Settings service applications.
    For all upgraded services I used default IIS pool: 'SharePoint Web Services default'. But now I see that for App Management and Subscription Settings service Mifrosoft uses new iis pools in the configuration guide:
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
    Could you please advise if I can use defaulf pool 'SharePoint Web Services default' to configure App Management and Subscription Settings service applications?
    If not can I use one pool for both services or should I use separate pool for each service?
    Thanks

    You cannot move the STS. Also, certain SAs right farm admin rights. If the farm will leverage those SAs, I'd encourage you to create a new App Pool for just those SAs, rather than re-use "SharePoint Web Services Default" (to prevent these SAs from
    running under the Farm Admin).
    http://technet.microsoft.com/en-us/library/cc263445(v=office.14).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Managed driver web.config show working example

    Please show a working example of Oracle 12cR3 Managed Driver Oracle Data Access for WEB.CONFIG.
    I have it working fine for APP.CONFIG thick clients following the Developer Guide,
    but the essentials settings are being rejected as being valid for web.config.
    I put my tnsnames.ora and oracle.manageddataaccess.dll in the web application /BIN folder
    and make local reference to the bin folder.

    This worked for me after some trial and error with content and order
    web.config
    oracle.manageddataaccess.dll and tnsnames.ora in web app \BIN folder
    <?xml version="1.0"?>
      <configuration>
        <configSections>
          <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess" />
        </configSections>
        <connectionStrings>
          <add name="OracleProviderConnectionString" connectionString="Data Source={SCHMEMA};Persist Security Info=True;User Id={SID};Password={passphrase}" providerName="Oracle.ManagedDataAccess.Client"></add>
        </connectionStrings>
        <oracle.manageddataaccess.client>
          <version number="*">
          </version>
        </oracle.manageddataaccess.client>
        <system.data>
          <DbProviderFactories>
            <remove invariant="Oracle.DataAccess.Client" />
            <remove invariant="Oracle.ManagedDataAccess.Client" />
            <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client"
                 description="Oracle Data Provider for .NET, Managed Driver"
                 type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
          </DbProviderFactories>
        </system.data>

Maybe you are looking for

  • System ID in Message Mapping in PI 7.11

    Hi Experts I am working on a  file to IDOC scenario where I need to pass the system ID to the data element RCVPRN on the IDOC side, How can I get the system ID when the mapping is being executed System id should get the dev PI system or QA or PRD whe

  • SUN .... When....  JRE 1.4.0 international with auto update

    SUN .... When.... JRE 1.4.0 international with auto update When will you deliver ......... We have a dead line and our product needs the international version 1.4 to be updated on our exsiting user base, one of our customers has over 700 workstations

  • How to fill-in a PDF form?

    I'm trying to fill in a PDF form. Is it possible to make a form editable? I'm also not very computer-literate. Any help would be deeply appreciated.

  • Mail crashes just after start of it

    Hello, Mail crashes every time I start it. I configured my gmail account for imap and changed it later back to POP. Even if I change my gmail account to work with IMAP, it doesn't solve the problem. Mail crashes again and again, just after the start.

  • New replacement phone not recognising simcard

    after getting a replacement phone under warranty from apple stores today, the apple genius tech set it up as a new phone so i could use it today, but said to me to erase all data when i got home and set it up as my previous phone so all my data would