Web Service connect problem, Please Help!!!

I developed a web service end point following the pattern of adventure as Purchase Order End Point Bean,
WSDL is correctly generated for both Server anc Client End:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="DownloadWSService" targetNamespace="urn:DownloadWSService" xmlns:tns="urn:DownloadWSService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="DownloadWSInterface_downloadWorkAssignments">
<part name="String_1" type="xsd:string"/></message>
<message name="DownloadWSInterface_downloadWorkAssignmentsResponse">
<part name="result" type="xsd:boolean"/></message>
<portType name="DownloadWSInterface">
<operation name="downloadWorkAssignments" parameterOrder="String_1">
<input message="tns:DownloadWSInterface_downloadWorkAssignments"/>
<output message="tns:DownloadWSInterface_downloadWorkAssignmentsResponse"/></operation></portType>
<binding name="DownloadWSInterfaceBinding" type="tns:DownloadWSInterface">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="downloadWorkAssignments">
<soap:operation soapAction=""/>
<input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></input>
<output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" use="encoded" namespace="urn:DownloadWSService"/></output></operation></binding>
<service name="DownloadWSService">
<port name="DownloadWSInterfacePort" binding="tns:DownloadWSInterfaceBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
and I deployed both server and client end of this web service on Sun One Application 7 (Developer version) successfully, in the application server log, I can see the info :
[#|2004-04-16T15:08:20.865+1000|INFO|j2ee-appserver1.4|javax.enterprise.system.t
ools.deployment|_ThreadID=12;|DPL5306:EJB Web Service Endpoint [DownloadWSInterf
acePort] listening at address [http://localhost:8080/webservice/DownloadWSBean]|#
But when I try to call it on the client side, I got the error and here is the log:
2004-04-16 15:48:28,477 WEB DEBUG [http8080-Processor4] - Port Info is http://localhost:8080/webservice/DownloadWSBean
calling download ws endpoint java.rmi.RemoteException: HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean; nested exception is:
HTTP Status-Code 404: Not Found - /webservice/DownloadWSBean
Could anyone help and point to me a right direction, I have been hunting the problem for days and couldnt find a clue.
Thanks a lot in advance!

Hi, I finally solved this problem, the JDNI entry value is not configured properly for the session bean that's built for the service end point.
Changed JNDI value, and use that value in the service locator to look up the session bean home, it worked.

Similar Messages

  • Return Data from Oracle using a web service in AXIS - please help

    Hi Forum,
    I am very new to web services and Java tech. and recently I have been assigned to work with technology and I am struggling to learn it and need your help and assistance.
    I am trying to return some data from a an oracle database but I have to do that using a web service and I am using AXIS. For example below is a simple program that returns two columns for the demo EMP table
    import java.sql.*;
    class emp {
    public static void main(String args[])
    throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // or you can use:
    // DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","scott", "tiger");
    Statement stmt = conn.createStatement( );
    ResultSet rset = stmt.executeQuery("select * from emp");
    while(rset.next( )) {
    System.out.println(rset.getString(1));
    System.out.println(rset.getString(2));
    rset.close( );
    stmt.close( );
    conn.close( );
    } but I do not know how to convert this into a web service.
    Please help.
    Thanks in advance.
    Regards,
    Ravi

    The following code returns Document. I will be calling the below function to convert my Resultset to document. In my JWS file i simply call a method with parameters. can a web service method in .jws file return Document type. It shows error will doing so. Please help me.
    public static Document toDocument(ResultSet rs) throws ParserConfigurationException, SQLException
              Document res_doc = null;
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = factory.newDocumentBuilder();
              Document doc = builder.newDocument();
              Element results = doc.createElement("Results");
              doc.appendChild(results);
              ResultSetMetaData rsmd = rs.getMetaData();
              int colCount = rsmd.getColumnCount();
              while (rs.next())
              Element row = doc.createElement("Row");
              results.appendChild(row);
              for (int i = 1; i <= colCount; i++)
              String columnName = rsmd.getColumnName(i);
              Object value = rs.getObject(i);
              Element node = doc.createElement(columnName);
              node.appendChild(doc.createTextNode(value.toString()));
              row.appendChild(node);
              return res_doc;
         }

  • Network connection problems, please help!

    I have had an iPod Touch (4th generation) for over a year now and it worked fine. Today, something went wrong with my network connection. One moment it says that I'm connected to a network, and a few seconds later it says I'm not connected... Then a few seconds later it's connected again. I have full wifi bars, and it does it throughout my whole house. The wifi symbol keeps going on and off. I tried turning my Verizon Westell Model 6100G Modem off and back on because this normally fixes my wifi connection problems. This didn't work. Then I tried turning my iPod off and back on. This didn't work. I tried turning the wifi off and back on. This didn't work. I tried forgetting my network and signing back in. This didn't work. I also tried resetting the network, and this didn't work either. I'm not having any connection problems with my laptop, it's working fine. It's only my iPod. I'm still able to use the wifi, but for a split second, it will not work. I'm not sure what else to do. It's very annoying! I'm going to see if it does this at other peoples houses with their wifi. Can any one tell me what's wrong and how I should fix it? My only theory is a broken antenna...Please help! Thanks!

    I have two things you could try.
    1. Plug your iPod into the host computer that which the network is based around because sometimes the network has trouble identifying a device if it has been a while since you plugged it into the computer.
    2. Find some way to get your network information (IP address, Subnet Mask, Router, DNS numbers) from another device on the network (e.g. laptop). Then go to Settings > Wi-FI and find your router and tap the blue arrow to the right of the name and tap the tab that says "Static" and enter this information accordingly. Then exit back to the network names menu and re-enter your passcode for your network (assuming you have a passcode)

  • Urgent - How to call a Web Services from PLSQL - Please help

    Hello,
    I am very much new to WebServices, need to call web services through PLSQL. I have a urgent requirement, where i need to call the web services by passing from some paramters to it and the web services will return a varchar values as 'PASSED' or 'FAILED'.
    Can you please approch me the best way to start with.
    Thanks,
    Srikanth.

    Hi,
    I need to do it from PLSQL API's not from JAVA.
    I have started developing the code through UTIL_HTTP. Getting lots of error.
    Can you please guide me through these error.
    Below is the wsdl and a blcok where i am trying to retrive the value from webservice.
    Hope this will help you.
    Code:
    declare
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    begin
    soap_request:= '<?xml version = "1.0" encoding = "UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:soapCheckRequest1 wsdl:ns1="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <FirstName xsi:type="xsd:string">saddam</FirstName>
    <LastName xsi:type="xsd:string">hussein</LastName>
              <companyName xsi:type="xsd:string">samueladams</companyName>
              <address1 xsi:type="xsd:string">123 APT</address1>
              <address3 xsi:type="xsd:string">Atlanta</address3>
              <city xsi:type="xsd:string">uk</city>
              <stateOrRegion xsi:type="xsd:string">GA</stateOrRegion>
              <postalCode xsi:type="xsd:string">30338</postalCode>
              <email xsi:type="xsd:string">sj@samueladams</email>
              <isoCountryCode xsi:type="xsd:string">US</isoCountryCode>
              <endUserIP xsi:type="xsd:string">209.134.168.203</endUserIP>
    </ns1:soapCheckRequest1>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    http_req:= utl_http.begin_request
    ( 'http://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService'
    , 'POST'
    , 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml'); -- since we are dealing with plain text in XML documents
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', ''); -- required to specify this is a SOAP communication
    utl_http.write_text(http_req, soap_request);
    http_resp:= utl_http.get_response(http_req);
    DBMS_OUTPUT.PUT_LINE('-------utl_http.get_response---------------------');
    DBMS_OUTPUT.PUT_LINE('http_resp.status_code is :'||http_resp.status_code );
    DBMS_OUTPUT.PUT_LINE('http_resp.reason_phrase is :'||http_resp.reason_phrase);
    DBMS_OUTPUT.PUT_LINE('http_resp.http_version is :'||http_resp.http_version);
    DBMS_OUTPUT.PUT_LINE('http_resp.private_hndl is :'||http_resp.private_hndl);
    DBMS_OUTPUT.PUT_LINE('-------utl_http.get_response----------------------');
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    resp:= resp.extract('/soap:Envelop/soap:Body/child::node()'
    , 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'
    i:=0;
    loop
    dbms_output.put_line(substr(soap_respond,1+ i*255,250));
    i:= i+1;
    if i*250> length(soap_respond)
    then
    exit;
    end if;
    end loop;
    end;
    Error Message
    http_resp.reason_phrase is :Internal Server Error
    http_resp.http_version is :HTTP/1.1
    http_resp.private_hndl is :0
    -------utl_http.get_response----------------------
    <?xml version="1.0" encoding="UTF-8"?><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:Body><soapenv:Fault><faultco
    apenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXParseException: The prefix &quot;ns1&quot; for element &quot;ns1:soapCheckRequest1&quot; is not bound.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">atlcms
    2.iss.net</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:intf="https://isportal-qa.iss.net/exportcompliancemanager/services/ExportCheckService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <!--
    WSDL created by Apache Axis version: 1.3
    Built on Oct 05, 2005 (05:23:37 EDT)
    -->
    - <wsdl:message name="soapCheckResponse1">
    <wsdl:part name="soapCheckReturn" type="soapenc:string" />
    </wsdl:message>
    - <wsdl:message name="soapCheckRequest1">
    <wsdl:part name="firstName" type="soapenc:string" />
    <wsdl:part name="lastName" type="soapenc:string" />
    <wsdl:part name="companyName" type="soapenc:string" />
    <wsdl:part name="address1" type="soapenc:string" />
    <wsdl:part name="address2" type="soapenc:string" />
    <wsdl:part name="address3" type="soapenc:string" />
    <wsdl:part name="city" type="soapenc:string" />
    <wsdl:part name="stateOrRegion" type="soapenc:string" />
    <wsdl:part name="postalCode" type="soapenc:string" />
    <wsdl:part name="email" type="soapenc:string" />
    <wsdl:part name="phone" type="soapenc:string" />
    <wsdl:part name="isoCountryCode" type="soapenc:string" />
    <wsdl:part name="endUserId" type="soapenc:string" />
    <wsdl:part name="endUserIP" type="soapenc:string" />
    <wsdl:part name="endUserSession" type="soapenc:string" />
    <wsdl:part name="performGovCheck" type="xsd:boolean" />
    <wsdl:part name="sendEmailNotification" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnSuppliedCountryCode" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnEndUserIP" type="xsd:boolean" />
    <wsdl:part name="soundexMatch" type="xsd:boolean" />
    </wsdl:message>
    - <wsdl:message name="soapCheckRequest">
    <wsdl:part name="firstName" type="soapenc:string" />
    <wsdl:part name="lastName" type="soapenc:string" />
    <wsdl:part name="companyName" type="soapenc:string" />
    <wsdl:part name="address1" type="soapenc:string" />
    <wsdl:part name="address2" type="soapenc:string" />
    <wsdl:part name="address3" type="soapenc:string" />
    <wsdl:part name="city" type="soapenc:string" />
    <wsdl:part name="stateOrRegion" type="soapenc:string" />
    <wsdl:part name="postalCode" type="soapenc:string" />
    <wsdl:part name="email" type="soapenc:string" />
    <wsdl:part name="phone" type="soapenc:string" />
    <wsdl:part name="isoCountryCode" type="soapenc:string" />
    <wsdl:part name="endUserId" type="soapenc:string" />
    <wsdl:part name="endUserIP" type="soapenc:string" />
    <wsdl:part name="endUserSession" type="soapenc:string" />
    <wsdl:part name="performGovCheck" type="xsd:boolean" />
    <wsdl:part name="sendEmailNotification" type="xsd:boolean" />
    <wsdl:part name="screeningLevelBasedOnEndUserIP" type="xsd:boolean" />
    <wsdl:part name="soundexMatch" type="xsd:boolean" />
    </wsdl:message>
    - <wsdl:message name="soapCheckResponse">
    Thanks and Regard,
    Srikanth

  • Web Services wont start, please help

    Hello all,
    I appologize up front but I dont really have a lot of experience with OSX server. So yesterday I got a report that my companied website was down. I went in to check the server and it wouldnt log in just got the pinwheel for about 10 minutes so we rebooted it (me and my IT staff). Upon reboot we could login and all seems well except that the web services wont start and our website is still down. when you try and start the service you get:
    " A service has encountered and error, Try to refresh the view (172.18.180.15/Web). Report the problem to the administrator if it persists. (could not start web service - details in error log)."
    but when you go to the log to see what is going on the last entry says:
    " [Thu Jan 15 14:47:27 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html "
    that is about the time that the website appears to have gone offline... Also after navigating to the directory it says, there indeed is no error.html but all other files appear to be there. I have also used the terminal to read the last 100 lines of the error log file using tail -100 /var/log/httpd/error_log and get:
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/rc/bin/msgimport
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/roundcube/bin/msgimport
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/webmail/bin/msgimport
    [Thu Jan 15 10:13:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:14:49 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 10:14:49 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:14:52 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 10:14:52 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:28:27 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 10:28:27 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:32:17 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 10:32:17 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:32:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 10:32:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:32:57 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 10:32:57 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:34:56 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 10:34:56 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:34:59 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 10:34:59 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:55:02 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 10:55:02 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 10:55:05 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 10:55:05 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:15:10 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 11:15:10 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:15:13 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 11:15:13 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:23:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 11:23:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:24:42 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/Library/BOCESlogo.jpg
    [Thu Jan 15 11:24:42 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:26:15 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 11:26:15 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:29:48 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/Library/BOCESlogo.jpg
    [Thu Jan 15 11:29:48 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:35:17 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 11:35:17 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:35:20 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 11:35:20 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:50:50 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/robots.txt
    [Thu Jan 15 11:50:50 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:53:20 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 11:53:20 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:55:23 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 11:55:23 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 11:55:26 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 11:55:26 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:11:18 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 12:11:18 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:15:31 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 12:15:31 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:15:34 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 12:15:34 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:35:36 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 12:35:36 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:35:39 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 12:35:39 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:55:45 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 12:55:45 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 12:55:48 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 12:55:48 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:04:47 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 13:04:47 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:15:52 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 13:15:52 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:15:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 13:15:55 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:35:58 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 13:35:58 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:36:01 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 13:36:01 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:52:37 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/Library/BOCESlogo.jpg
    [Thu Jan 15 13:52:37 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:56:06 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 13:56:06 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 13:56:09 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 13:56:09 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:12:16 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 14:12:16 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:16:12 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 14:16:12 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:16:15 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 14:16:15 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:16:57 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 14:16:57 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:29:01 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/registrationSERPDC.html
    [Thu Jan 15 14:29:01 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:33:12 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/favicon.ico
    [Thu Jan 15 14:33:12 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:36:19 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/HNAP1/
    [Thu Jan 15 14:36:19 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:36:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/TEADevInfo/
    [Thu Jan 15 14:36:22 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:47:08 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/registrationSERPDC.html
    [Thu Jan 15 14:47:08 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    [Thu Jan 15 14:47:27 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/registrationSERPDC.html
    [Thu Jan 15 14:47:27 2009] [error] [client 172.18.180.15] File does not exist: /Library/WebServer/Documents/error.html
    So im at a loss and any ideas would be much appricated. I know that earlier in the day one of our web people updated our website to add a calender using dreamweaver but dont know much about exactly what was done.
    Thanks again
    Troy Smith

    Thanks for the responce. So it looks to me like the content of the webpage is all there , minus the error.html file. Its all located in Library/webserver/documents. I have gone there and am even able to bring up our webpage by launching index.html and it appears to work perfectly with no broken links. you just cant access it from the outside world.
    here is the last bit of the access log:
    700] "GET / HTTP/1.0" 200 11110
    172.18.70.21 - - [15/Jan/2009:12:42:13 -0700] "GET / HTTP/1.1" 304 -
    172.18.70.21 - - [15/Jan/2009:12:42:13 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.70.21 - - [15/Jan/2009:12:42:13 -0700] "GET /BOCES_logo.jpg HTTP/1.1" 304 -
    172.18.180.150 - - [15/Jan/2009:12:55:45 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:12:55:48 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:12:55:51 -0700] "GET / HTTP/1.0" 200 11110
    172.18.21.33 - - [15/Jan/2009:12:59:44 -0700] "GET / HTTP/1.1" 304 -
    172.18.21.33 - - [15/Jan/2009:12:59:44 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.21.33 - - [15/Jan/2009:12:59:44 -0700] "GET /BOCES_logo.jpg HTTP/1.1" 304 -
    172.18.21.33 - - [15/Jan/2009:12:59:44 -0700] "GET /mm_spacer.gif HTTP/1.1" 304 -
    172.18.21.33 - - [15/Jan/2009:12:59:44 -0700] "GET /mm_arrow.gif HTTP/1.1" 304 -
    66.249.71.204 - - [15/Jan/2009:13:00:04 -0700] "GET /Distance%20Learning/2ndSem.png HTTP/1.1" 304 -
    66.210.76.252 - - [15/Jan/2009:13:04:42 -0700] "GET / HTTP/1.1" 200 11110
    66.210.76.252 - - [15/Jan/2009:13:04:42 -0700] "GET /mm_travel2.css HTTP/1.1" 200 2084
    66.210.76.252 - - [15/Jan/2009:13:04:43 -0700] "GET /BOCES_logo.jpg HTTP/1.1" 200 39819
    66.210.76.252 - - [15/Jan/2009:13:04:43 -0700] "GET /mm_spacer.gif HTTP/1.1" 200 43
    66.210.76.252 - - [15/Jan/2009:13:04:44 -0700] "GET /mm_arrow.gif HTTP/1.1" 200 74
    66.210.76.252 - - [15/Jan/2009:13:04:47 -0700] "GET /favicon.ico HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:15:52 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:15:55 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:15:58 -0700] "GET / HTTP/1.0" 200 11110
    207.119.148.113 - - [15/Jan/2009:13:25:37 -0700] "GET / HTTP/1.1" 304 -
    207.119.148.113 - - [15/Jan/2009:13:25:37 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:13:26:28 -0700] "GET / HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:13:26:28 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    66.249.71.203 - - [15/Jan/2009:13:30:25 -0700] "GET /Distance%20Learning/2007-08%201st%20Semester.pdf HTTP/1.1" 304 -
    172.18.180.150 - - [15/Jan/2009:13:35:58 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:36:01 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:36:04 -0700] "GET / HTTP/1.0" 200 11110
    172.18.10.22 - - [15/Jan/2009:13:40:32 -0700] "GET / HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:13:40:32 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.10.247 - - [15/Jan/2009:13:45:41 -0700] "GET / HTTP/1.1" 304 -
    172.18.10.247 - - [15/Jan/2009:13:45:41 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.80.172 - - [15/Jan/2009:13:52:34 -0700] "GET / HTTP/1.1" 304 -
    172.18.80.172 - - [15/Jan/2009:13:52:34 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.80.172 - - [15/Jan/2009:13:52:37 -0700] "GET /cgi-bin/htmlos.cgi/Library/login.html HTTP/1.1" 200 5337
    172.18.80.172 - - [15/Jan/2009:13:52:37 -0700] "GET /Library/BOCESlogo.jpg HTTP/1.1" 404 -
    172.18.80.172 - - [15/Jan/2009:13:52:51 -0700] "POST /cgi-bin/htmlos.cgi/00196.1.091587960413596865 HTTP/1.1" 200 6906
    172.18.80.172 - - [15/Jan/2009:13:52:51 -0700] "GET /Library/logo.gif HTTP/1.1" 304 -
    172.18.80.172 - - [15/Jan/2009:13:53:12 -0700] "POST /cgi-bin/htmlos.cgi/00196.2.398028895013596865 HTTP/1.1" 200 6954
    172.18.80.172 - - [15/Jan/2009:13:53:34 -0700] "POST /cgi-bin/htmlos.cgi/00196.3.379763596813596865 HTTP/1.1" 200 7631
    172.18.80.172 - - [15/Jan/2009:13:53:41 -0700] "GET /cgi-bin/htmlos.cgi/00196.4.979421102013596865 HTTP/1.1" 200 5707
    172.18.80.172 - - [15/Jan/2009:13:54:05 -0700] "POST /cgi-bin/htmlos.cgi/00196.4.653012131313596865 HTTP/1.1" 200 5009
    172.18.80.172 - - [15/Jan/2009:13:54:05 -0700] "GET /Library/cartcompanion/images/trash.gif HTTP/1.1" 304 -
    172.18.80.172 - - [15/Jan/2009:13:54:09 -0700] "GET /cgi-bin/htmlos.cgi/00196.6.067052834713596865 HTTP/1.1" 200 7631
    172.18.80.172 - - [15/Jan/2009:13:54:18 -0700] "POST /cgi-bin/htmlos.cgi/00196.7.340537939813596865 HTTP/1.1" 200 8416
    172.18.80.172 - - [15/Jan/2009:13:54:30 -0700] "GET /cgi-bin/htmlos.cgi/00196.8.1081705853513596865 HTTP/1.1" 200 6036
    172.18.80.172 - - [15/Jan/2009:13:54:46 -0700] "POST /cgi-bin/htmlos.cgi/00196.8.680478888813596865 HTTP/1.1" 200 5489
    172.18.80.172 - - [15/Jan/2009:13:54:48 -0700] "GET /cgi-bin/htmlos.cgi/00196.10.067088757713596865 HTTP/1.1" 200 8430
    172.18.80.172 - - [15/Jan/2009:13:54:59 -0700] "POST /cgi-bin/htmlos.cgi/00196.11.383185021613596865 HTTP/1.1" 200 6953
    172.18.80.172 - - [15/Jan/2009:13:55:04 -0700] "GET /cgi-bin/htmlos.cgi/00196.12.186489933813596865 HTTP/1.1" 200 5489
    172.18.80.172 - - [15/Jan/2009:13:55:07 -0700] "POST /cgi-bin/htmlos.cgi/00196.13.316198235313596865 HTTP/1.1" 200 4484
    172.18.180.150 - - [15/Jan/2009:13:56:06 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:56:09 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:13:56:12 -0700] "GET / HTTP/1.0" 200 11110
    172.19.62.94 - - [15/Jan/2009:14:05:22 -0700] "GET / HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:22 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:23 -0700] "GET /BOCES_logo.jpg HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:23 -0700] "GET /mm_spacer.gif HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:23 -0700] "GET /mm_arrow.gif HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:37 -0700] "GET /ExcepStuServ.html HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:37 -0700] "GET /Scripts/AC_RunActiveContent.js HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /EngSafeguards.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /SafeguardsSpanish.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /ChildFind.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /CSAPA.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /CDE.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /EarlyCh.swf HTTP/1.1" 304 -
    172.19.62.94 - - [15/Jan/2009:14:05:39 -0700] "GET /SEAS.swf HTTP/1.1" 304 -
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET / HTTP/1.1" 200 11110
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET /mm_travel2.css HTTP/1.1" 200 2084
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET /mm_spacer.gif HTTP/1.1" 200 43
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET /BOCES_logo.jpg HTTP/1.1" 200 39819
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET /mm_arrow.gif HTTP/1.1" 200 74
    172.18.71.229 - - [15/Jan/2009:14:12:16 -0700] "GET /favicon.ico HTTP/1.1" 404 -
    172.18.71.229 - - [15/Jan/2009:14:15:06 -0700] "GET / HTTP/1.1" 304 -
    172.18.71.229 - - [15/Jan/2009:14:15:06 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.180.150 - - [15/Jan/2009:14:16:12 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:14:16:15 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:14:16:18 -0700] "GET / HTTP/1.0" 200 11110
    10.136.34.40 - - [15/Jan/2009:14:16:56 -0700] "GET / HTTP/1.1" 200 11110
    10.136.34.40 - - [15/Jan/2009:14:16:56 -0700] "GET /mm_travel2.css HTTP/1.1" 200 2084
    10.136.34.40 - - [15/Jan/2009:14:16:57 -0700] "GET /favicon.ico HTTP/1.1" 404 -
    172.18.71.164 - - [15/Jan/2009:14:18:59 -0700] "GET / HTTP/1.1" 304 -
    172.18.71.164 - - [15/Jan/2009:14:19:00 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    204.132.102.1 - - [15/Jan/2009:14:29:01 -0700] "GET /registrationSERPDC.html HTTP/1.1" 404 -
    199.2.43.225 - - [15/Jan/2009:14:33:10 -0700] "GET / HTTP/1.1" 200 11110
    199.2.43.225 - - [15/Jan/2009:14:33:11 -0700] "GET /mm_travel2.css HTTP/1.1" 200 2084
    199.2.43.225 - - [15/Jan/2009:14:33:12 -0700] "GET /favicon.ico HTTP/1.1" 404 -
    172.18.10.22 - - [15/Jan/2009:14:34:55 -0700] "GET / HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:14:34:55 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.18.180.150 - - [15/Jan/2009:14:36:19 -0700] "GET /HNAP1/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:14:36:22 -0700] "GET /TEADevInfo/ HTTP/1.1" 404 -
    172.18.180.150 - - [15/Jan/2009:14:36:25 -0700] "GET / HTTP/1.0" 200 11110
    70.90.115.161 - - [15/Jan/2009:14:36:53 -0700] "GET / HTTP/1.1" 200 11110
    70.90.115.161 - - [15/Jan/2009:14:36:54 -0700] "GET /mm_travel2.css HTTP/1.1" 200 2084
    70.90.115.161 - - [15/Jan/2009:14:37:11 -0700] "GET /HumRes.html HTTP/1.1" 200 19117
    70.90.115.161 - - [15/Jan/2009:14:37:12 -0700] "GET /Scripts/AC_RunActiveContent.js HTTP/1.1" 200 8321
    70.90.115.161 - - [15/Jan/2009:14:37:12 -0700] "GET /AmFidelity.swf HTTP/1.1" 200 1520
    70.90.115.161 - - [15/Jan/2009:14:37:12 -0700] "GET /CDE2.swf HTTP/1.1" 200 1165
    70.90.115.161 - - [15/Jan/2009:14:37:12 -0700] "GET /CEBT.swf HTTP/1.1" 200 1241
    70.90.115.161 - - [15/Jan/2009:14:37:12 -0700] "GET /jobapp.swf HTTP/1.1" 200 2360
    70.90.115.161 - - [15/Jan/2009:14:37:13 -0700] "GET /PERA.swf HTTP/1.1" 200 1169
    70.90.115.161 - - [15/Jan/2009:14:37:13 -0700] "GET /VSP.swf HTTP/1.1" 200 1162
    70.90.115.161 - - [15/Jan/2009:14:38:07 -0700] "GET /AdmStaff.html HTTP/1.1" 200 16561
    70.90.115.161 - - [15/Jan/2009:14:38:07 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:07 -0700] "GET /CDE2.swf HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:08 -0700] "GET /CEBT.swf HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:08 -0700] "GET /jobapp.swf HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:08 -0700] "GET /PERA.swf HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:08 -0700] "GET /VSP.swf HTTP/1.1" 304 -
    70.90.115.161 - - [15/Jan/2009:14:41:10 -0700] "GET /AmFidelity.swf HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:14:41:26 -0700] "GET / HTTP/1.1" 304 -
    172.18.10.22 - - [15/Jan/2009:14:41:27 -0700] "GET /mm_travel2.css HTTP/1.1" 304 -
    172.17.35.11 - - [15/Jan/2009:14:47:08 -0700] "GET /registrationSERPDC.html HTTP/1.1" 404 -
    172.17.35.11 - - [15/Jan/2009:14:47:27 -0700] "GET /registrationSERPDC.html HTTP/1.1" 404 -
    and here is the output of the apache test command:
    Last login: Fri Jan 16 08:36:31 on ttyp1
    Welcome to Darwin!
    MultiServer:~ admin$ apachectl configtest
    Processing config directory: /etc/httpd/sites/*.conf
    Processing config file: /etc/httpd/sites/+entropy-php.conf
    Syntax error on line 8 of /etc/httpd/sites/+entropy-php.conf:
    Cannot load /usr/local/php5/libphp5.so into server: (reason unknown)
    MultiServer:~ admin$
    if i read this correctly looks like there is a syntax errror in the -php.conf file. So where do i go to see that file?
    thanks again for your help
    Troy

  • Web service connection problem via web service data control (SOAP/REST)

    Hi
    I developed a simple "hello word" web service that I deployed on Integrated WLS.
    Web service works fine - I tested it from SoapUI.
    I created another application to call "hello word" using  "web service data control (SOAP/REST)" in JDeveloper.
    When I test it via "Oracle ADF Model Tester" application works as I'm expecting, but when I create JSPX page,
    drag and drop webservice method as ADF parameter form and run it receive notification (screenshot):
    "WSM-07620 : Agent cannot enforce policies due to either failure in retrieving polices or error in validations, detail= "WSM-02557 The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-CONNECTION()")(policysets:global/%)" is queued for later retrieval. "."
    What I'm doing wrong?
    Why I'm able to access web service from any other application but not from jdeveloper?
    Regards

    Hi,
    I am not sure which JDev you are using, but looks like you have some policies setup for WSDC using GPA (global policy attachment) and your policy manager(wsm-pm) is not running. Can you check if the wsm-pm application is properly deployed in your Integrated WLS. You can see this from the list of deployed apps in WLS console.
    -Vishal

  • Document Style web service in process - Please Help

    All,
    I have created a simple Document-oriented web service and deployed to a standalone OC4J container using the following code:
    ********************* Interface ***********************
    import org.w3c.dom.*;
    interface PrimeNumberService
    //method to check the primality of the number passed in Element variable
    public Element isPrime(Element e) ;
    ******************** Implementation *******************
    @version 1.0
    Development Environment : Oracle9i JDeveloper
    Name of the File : PrimeNumberServiceImpl.java
    Creation/Modification History :
    13-Apr-2002 Created
    Overview:
    This class file defines methods to implement PrimeNumberWebService.
    The method isPrime() is exposed by the Web Service.
    import org.w3c.dom.*;
    import oracle.xml.parser.v2.*;
    import java.io.*;
    public class PrimeNumberServiceImpl implements PrimeNumberService
    public PrimeNumberServiceImpl()
    * This method is exposed by the Web Service to check if the number is
    * prime. It extracts the number for input element and checks if it is
    * prime or not and return the output in the XML Element.
    * The input element is of the form <number>23</number>
    public Element isPrime(Element e)
    // define an XML Element that will be returned to the client
    Element processedEl=null;
    try{
    // get the first clild of input element
    Node enode = e.getFirstChild();
    //get the value of input element and parse it
    String value= enode.getNodeValue();
    double number = Double.parseDouble(value);
    String answer=null;
    // check if the input number is prime
    answer = checkPrime(number);
    // create element from the answer
    processedEl =createElement(answer);
    }catch(Exception ex){
    ex.printStackTrace();
    return null;
    // return output to client
    return processedEl;
    * This method creates an XML element from the input string values and return it
    * The Element is of the form <answer>value</answer>
    private Element createElement(String value){
    // create a Document object
    Document xmldoc = new XMLDocument();
    // create an element with name "answer"
    Element e1 = xmldoc.createElement("answer");
    // append the element to document object
    xmldoc.appendChild(e1);
    // create a Text object from input values and append it to above element
    Text t = xmldoc.createTextNode(value);
    e1.appendChild(t);
    return (Element)xmldoc.getFirstChild();
    * This method check if the input number is prime or not
    private String checkPrime(double num){
    //For a prime number mod(power(2,number),number) is equal to 2
    if ( Math.IEEEremainder( Math.pow(2.0,num) ,num)==2){
    System.out.println ("the number is: " + num);
    return "The number " + num + " is prime";}
    else{
    System.out.println ("the number is: " + num);
    return "The number " + num + " is not prime";}
    ************************ Generated WSDL ***************
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="PrimeNumberService"
    targetNamespace="http://tempuri.org/PrimeNumberService.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://tempuri.org/PrimeNumberService.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >
    <documentation>
    WSDL for Service: PrimeNumberService, generated by Oracle WSDL toolkit (version: 1.1)
    </documentation>
    <types>
    <schema targetNamespace="http://tempuri.org/PrimeNumberService.xsd" xmlns:tns="http://tempuri.org/PrimeNumberService.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
    </types>
    <message name="isPrimeOutput">
    <part name="return" element="xsd:any"/>
    </message>
    <message name="isPrimeInput">
    <part name="param0" element="xsd:any"/>
    </message>
    <portType name="PrimeNumberServicePortType">
    <operation name="isPrime">
    <input message="tns:isPrimeInput"/>
    <output message="tns:isPrimeOutput"/>
    </operation>
    </portType>
    <binding name="PrimeNumberServiceBinding" type="tns:PrimeNumberServicePortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="isPrime">
    <soap:operation soapAction="urn:PrimeNumberService/isPrime"/>
    <input>
    <soap:body use="literal" namespace="urn:PrimeNumberService"/>
    </input>
    <output>
    <soap:body use="literal" namespace="urn:PrimeNumberService"/>
    </output>
    </operation>
    </binding>
    <service name="PrimeNumberService">
    <port name="PrimeNumberServicePort" binding="tns:PrimeNumberServiceBinding">
    <soap:address location="http://hp-xeon-01:9799/primenumberws/primenumberService"/>
    </port>
    </service>
    </definitions>
    I get the following error when trying to deploy:
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: XML parsing failed because "undefined part element.
    In WSDL at "http://hp-xeon-01:9799/primenumberws/primenumberService?WSDL", message part element "{http://www.w3.org/2001/XMLSchema}any" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    Please let me know what I'm doing wrong.
    Regards,
    Jeff

    I think this thread is duplicate of "Document style web service receive and send org.w3c.Element" message thread.
    - Rakesh

  • New operation for existing web service...please help!

    Hello,
    I created a web service using "Create Web Service" wizard from SE37 for my function group - ZTEST. There are total 2 function modules in this function group - ZTEST1 and ZTEST2. It has been deployed under SOAP runtime. The service is active and tested successfully. In SOAMANAGER, I see ZTEST1 and ZTEST2 as different operations. Now I have created a new function module ZTEST3 under function group ZTEST and want it to be available as third operation in my existing web service. How can I do that?

    Under "Internal View" tab of service definition right click and select "Modify Operation" it will give you option to chose other FMs.
    Regards,
    Gourav

  • HP 8500 A Web Service connection problem

    Hi All,
    I hope someone can help me please I have just bought my HP 8500A. I try to setup the web server it says I have to do an update, its starts downloading then half way through it crashes. I have tried a few things like update the firmware on my router to the latest, I have a Billion 3G/ADSL 2 router, Still no luck. I have tried the switching off and on thing. That never worked and I have also tried changing the IPV4 settings to Manual IP Address and DNS to manual and still no luck. I am a home user so there is no "Firewall, well there is windows but i tried switching that off as well" . I can print fine and all that and my devices pick up the printer fine. Ok so my setup is so, Windows 7 Ultimate 64bit running with the Billion wireless Router. the HP printer is wireless setup and not connected to the computer via the USB printer cable.
    Please advise soonest.
    Thanks very much

    Hello MyStang,
    Is it a new printer or refurbished printer which you have purchased. Check the sticker at the back of the printer. From the printer menu Setup ==> Print Reports ==> select Print Status Report. Once this report is printed, check the model number and product name. What does it say?
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Touch connectivity problems - please help!!!

    Hi.
    I've got an 1st gen 8Gb Touch that has been fine for ages until now !
    Safari can't open a web page - I get the message "Safari can't open the page because it can't find the server". Also Mail, YouTube, Weather and Stocks don't update.
    It is showing I'm connected to my WiFi network and all the other computers in my house can connect to the internet without any problem. I haven't changed anything on mt router or Touch from yesterday when everything was working fine
    I've just tried restoring the Touch through iTunes but this hasn't solved the problem I'm afraid
    Thanks for any help
    Mark.

    Have you tried resetting your network settings?
    Settings > General > Reset > Reset Network Settings
    Even though you just restored the iPod, try this step if you restored it from your backup vs. setting it up as a new iPod.
    If that doesn't help, try powercycling your router. Just turn it off for about 10 seconds, turn it back on, check your Wi Fi settings to make sure you're connected, and then try Safari/other apps again.
    CG

  • Really annoying Internet Connection problem, please help!!!

    At first my macbook ran perfectly, but about a month ago i started running into this problem. Everytime i boot my computer up at home it acts like im connected (bars...it even checks my email using gmail notifier which is running)...then after about 20 seconds or upon opening a browser it boots me off.
    -if i use the pulldown menu to get my network it fails to connect, if i hit reconnect after that it fails to connect and i have to restart in order for it to work.
    -the only way i can get it to work is from the pulldown go to "open internet connect" then from that pulldown select my network.
    does anyone know what the problem is here? it is terribly annoying to to be able to just boot up and surf.
    another, not terribly important question as i dont use windows much...if im using the mac side, then reboot onto windows my internet dies after about 2 minutes every time. If i just boot up windows without having been in mac first it doesn't do this. (and the only fix is to unplug and then plug back in the router).
    thanks for any help,
    Jeremy

    I am seeing a similar problem at home.
    We have two existing PowerBooks and an iMac G5 which all connect to my Airport Extreme basestation with no problems.
    We just got a MacBook Pro which is having a lot of trouble staying on the airport wifi network. It keeps dropping off and when I attempt to reconnect, it gets an error doing that and offers to retry. The retry always fails.
    This seems to happen if the MacBook is idle for a time and comes back up. I am running the airport environment as pure 802.11G only with WPA encryption. This feels like it is an issue with the wireless card in the MacBook Pro as our other machines in the exact same area do not have the problem.

  • Service Module Problem -- Please Help!

    Greetings,
    I simply cannot get iTunes to recognize my iPod. I am running iTunes 7.1.1 and Windows XP. I have tried every suggestion at the Apple website, and nothing works. Instead I get the message "IPod Service Module has encountered a problem and needs to close." I have even gone so far as to uninstall 7.1.1 and reinstall 6.0.5, and that didn't work either.
    Going through this and other forums, the only suggestion I have seen that I haven't tried is reinstalling Windows. That seems like an extreme measure, and I would rather try something less drastic.
    If any Apple employees are reading this, I love my iPod. It's a great toy. But, this is an extremely frustrating problem, and I know I'm not the only one who's had it. Can you guys possibly fix this issue(s) in the next iTunes release?
    Thanks for any and all help,
    Jason
    5th generation IPod -- 55G   Windows XP  

    we'll get a crash log from itunes, and send it to the Apple engineers for a look.
    Typically, you'll need to configure Dr. Watson on your PC in order to generate crash logs. Windows start menu -> Run. Type in "cmd". Hit return. At the prompt in the command line window that comes up, type in
    drwtsn32 -i
    And hit return.
    This will create crash logs in Documents And Settings\All Users\Application Data\Microsoft\Dr Watson\. There'll usually be a file in here called "drwtsn32.log"
    prior to collecting the itunes crash log, delete any existing crash logs in there. (we want to make sure we send the correct crash log.)
    Generate the crash, collect the crash log, and and send it as an attachment to this email address.
    in the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing

  • Oracle connection problem - please help

    Hi.
    On my Win2k machine I first installed Oracle Developer 6.0 in C:\ORANT.
    After that I also installed Oracle in C:\ORACLE.
    I always used sqlplus C:\ORACLE\BIN\SQLPLUS.EXE till now. Now I have to
    use Forms builder to complete my homework. The problem is that I can't
    connect to my Oracle database with Forms builder.
    I try to solve my problem by comparing runs of C:\ORACLE\BIN\SQLPLUS.EXE
    with C:\ORANT\BIN\SQLPLUS.EXE (from developer tools). So I execute:
    - sqlplus my_user/my_pass@testconn
    in each directory. In the C:\ORACLE\BIN (using sqlplus that come with
    Oracle database) all works fine, while in C:\ORANT\BIN (using sqlplus
    that come with development tools) I get an error:
    - ORA-12705: invalid or unknown NLS parameter value specified
    I try to fix the problem by editing copying connection data from
    C:\ORACLE\network\ADMIN\tnsnames.ora to
    C:\ORANT\NET80\ADMIN\tnsnames.ora, but this didn't help.
    Can someone help me?
    My tnsnames.ora:
    TESTCONN.world =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = MYSID)
    [i]Long postings are being truncated to ~1 kB at this time.

    Hi Damir,
    Basically, it's possible the NLS_LANG parameter for your
    database install is invalid or isn't a available default
    value. This is a known problem.
    I didn't any specific about one connection route working
    and the other not, as in your case. However, I did find
    some information on this problem when connecting through
    Developer to a DB install.
    The quick fix is to ensure your client initialisation
    files have the 'NLS_LANGUAGE' parameter commented out.
    If the client doesn't have an "NLS_LANGUAGE" parameter
    entry the client and server use the language parameter
    indicated by the server.
    If that doesn't work (or you want to keep this parameter)
    check the NLS_LANG parameter in the DB using your working
    SQL*Plus connection. Try a default value like:
    AMERICAN_AMERICA.US7ASCII
    Also, you can try this:
    SELECT * FROM sys.v$nls_valid_values;
    Whatever you set for NLS_LANG should exist in the values
    returned for this query, otherwise you'll get the error.
    Unfortunately, resolving NLS_LANG issues is not always
    this easy. If commenting out or changing the parameters
    above still doesn't fix the problem, it is possible you need to reinstall the DB and choose the default language option. How you do this depends on the installer options
    for DB version you are using.
    One last point - I suggest you post your query to the
    Forms & Reports forums here on OTN too. This forum is
    ideally for Designer, rather than Developer questions.
    Hope all this helps.
    Regards,
    Dominic
    Designer Product Management
    Oracle

  • Database Connection problem please help

    Hi,
    I have a servlet that basically connects to the database if the userid and password is correct.
    I have a "login.html" page where the user enters the "userid" and "password".The servlet does the checking and grants access to the user.
    My question is as follows.As soon as I startup tomcat type in the url login.html,then press the submit button,(both the fields are blank) the servlet says "ok" this is this information is present in the database.It should say "not ok".Hope I question is clear.The code for the servlet is given below.
    package package1.structure;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    public class AuthenticateServlet2 extends HttpServlet {
    private String user="";
    private String pass="";
    private String username="";
    private String password="";
    private String message1="";
    public void init() {
    try{
        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
        System.out.println("Driver loaded successfully");
       }//close try
    catch (ClassNotFoundException e) {
    System.out.println(e.toString());
    }//close catch
    }//close init() method
    public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException
    } //close doGet
    public void doPost(HttpServletRequest request,HttpServletResponse response)
    throws ServletException, IOException
      user = request.getParameter("username").trim();
      pass = request.getParameter("password").trim();
      System.out.println("*"+user+"*");
      System.out.println("*"+pass+"*");
      String message = null;
    try{
      Connection con= DriverManager.getConnection("jdbc:odbc:MyDS");
      System.out.println("Successfully connected to database");
      PreparedStatement pstmt;
      pstmt = con.prepareStatement("SELECT username,password FROM users" + " WHERE username ='" + user + "'" +
      " AND password='" + pass + "'");
      ResultSet rs = pstmt.executeQuery();
      if(rs.next())
          username = rs.getString(1);
           password = rs.getString(2);     
    if (username != null && password != null && user.equals(username) && pass.equals(password) ){
        message ="ok";
        PrintWriter out = response.getWriter();
        out.print("<B>" + message + "</B>");
        //response.sendRedirect ("http://localhost:8080/thankyou.html");
    }//closes the if statement
    else {
         message="not ok";
         PrintWriter out = response.getWriter();
         out.print("<B>" + message + "</B>");
        //response.sendRedirect ("http://localhost:8080/sampleapp/login.html");
    }//close else statement
    }//closes 2ndtry
    catch (SQLException e) {
    System.out.println(e.toString());
    }//closes 2ndcatch
    }//close doPost
    }//close classKindly let me know ASAP.
    Regarding the database.The fields in the database are "username" and "password" and it has one tuple
    "xyz" and "xyz"
    Hope that my question is rightly put.
    Thanking you
    AS

    Actually, I think the servlet is doing the right thing
    by printing "ok". A quick glance at your code tells
    me that username and password are both members of your
    servlet class and initialized to "". Neither is null,
    and both are blank.
    If your HTML page sends user and pass as blank
    strings, you'll do a database query for those values.
    If they don't appear in the database, your ResultSet
    will have no rows and the username and password data
    members will not be updated.
    When you get to your if test, neither username nor
    password is null and both are equal to the values
    passed in from the HTML. Hence the "ok".
    If you initialize your username and password members
    to null this might still work.
    Be sure to set them back to null when you finish the
    test.
    If you take all that JDBC code out of the servlet and
    isolate it into its own class, you can test it out by
    feeding it valid and invalid username and password
    combinations. Once you've got that working perfectly,
    you can just have the servlet instantiate your
    database object and call its methods. If you have any
    problems after that point, you know they're due to the
    servlet and not the database interactions.
    Right now the database and servlet are confounded.
    Separate them out and you might make faster progress.
    - MODHello,
    Thanks for the reply.Will consider your points for a proper coding.Will keep posting.
    AS

  • Firewall + Oracle connection problem, please help!

    We've written a Java application (GUI) that resides on end user desktop. The tool uses a type 4 driver to connect to Oracle that is nested inside a firewall. The connection fails when trying to login to Oracle from the clients' computers that are not in our network; error says "Invalid protocol error!". Please advise...
    Note- there are no connectivity issues with the tool when running inside the network.
    Thanks,
    KN

    You need to open up the firewall for the selected port and probably the TCP/IP protocol on that port.
    Thomas

Maybe you are looking for

  • Type incompatibility error using remove method of ArrayList class

    This method: public int removeFromQueue ( int iIndex ) return queueFeed.remove( new Integer(iIndex) ) ; returns a type error after remove saying its found a boolean but is looking for an int. I want to remove the int value in the ArrayList and use it

  • I Can't start web-based EM (Oracle 10g)

    Hi, I've been installed Oracle 10G and when I try to start web-based EM with http://servername:5500/em I obtain the message "The page cannot be displayed" why happend it??

  • Dimensions change after exporting.

    I have a 492x242 pixel file but every time I export it out to any other type of file it becomes 1025x504 pixels. jpeg's, png's, and .pdf's. I'm not sure what's wrong.

  • Find location without GPS function

    Can the user have their location detected via a WAP site without the use of GPS? In the case of search for nearby locations via a directory service on WAP without GPS functionality (when user cannot download app version). Thanks!

  • ITunes can't read my iPod touch

    Help me iTunes can't read my iPod touch