SOAP Examples in wsdp-1_0-ea2

Dear list,
in the Java Web Services Tutorial there is one example pointing to the endpoint:
http://wombat.ztrade.com with a service called GetLastTradePrice is defined. Is this a real-world sample web service? It doesn't seem accessible publicly and I don't find a responding SOAP servlet defining this web service in the Web Services package.
So is the code just pure demonstrational code or is it supposed to be a working example?
There is a RespondingServlet class but it does not return any Quote value, just a dummy response message.
Could someone that has played around with this explain the setup?

I'm not going to try to answer your question, but I will mention something I learned. I downloaded the WSDP from Sun and found it to be very poorly done. (I realise it was a beta). If you really want to learn about web services and need a more simple example then use the tutorial at IBM.
http://www-106.ibm.com/developerworks/webservices/library/ws-peer1.html?dwzone=webservices
My suggestion is to use the tutorial and once you get a few services communicating switch from Apache Soap to Apach AXIS. This will teach you what the minimum requirements are to run a web service and not overwhelm you with gobs of information like the WSDP does.
Axis is easy to work with and web services become much simpler when you realise the minimum set of applications you need.
1) An XML parser
2) A Soap Messenger(i.e. Axis)
Those are the only two required to make an RPC call to a remote web service. If you want to serve up your own you need a server such as Tomcat.

Similar Messages

  • Need SOAP example that connect to Oracle DB

    Hi, I have setup the Oracle SOAP service and have successfully
    deployed several trivial SOAP services.
    I have also created some simple JDBC code that queries
    scott/tiger database successfully.
    WHat I have not been able to do is make the JDBC code pass back
    a SOAP response. I have seen no examples of how to do this.
    If this is not the correct forum to be asking this question,
    please direct me.
    Thanks in advance, Gary Grubb

    You are right, the I got that url may not be correct. I got it from datadirect documentation.
    I couldn�t find any good information or examples on this, but I think using TNS keyword-value pairs and tnsnames.ora is supported by type4 Oracle 10g JDBC.
    Some info I found in section �Connecting to the Database through the Applet� in JDBC Reference http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/jdbcthin.htm#CACCHECD
    I guess there is something off in that documentation though. I couldn't get it working.

  • "Invalid Content Type" using oracle.example.hr empsecformat in EA2 listener

    We've done a new vanilla install of Apex 4.1.1.00.23 and applied the patch that comes with the EA2 listener
    We then created a workspace and logged in, looking at the Restful services we can see the oracle.example.hr in there.
    Using the empsecformat/JONES
    we just get an error of :
    400 - Bad Request
    Invalid Content Type
    We get this if we use the test button on the page also.
    Has anyone got this working out of the box?
    The listener stdout isn't showing any errors what so ever

    Does not only happen when using JAX-WS.
    the following servlet code is enough to reproduce the problem :
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/xml;charset=\"utf-8\"");
    It only occurs on 10.1.3.4.0 (works fine on 10.1.3.3.0 and 11.1.1.1.0 TP4)
    Regards

  • SOAP examples

    I am looking for an example of a client that builds and invokes a SOAP
    message RPC-style and a server side object that receives this request,
    processes it and returns a SOAP message to the client. I could not find any
    API's either.
    Also, what do I gain by using the Weblogic web services over Apache SOAP on
    WL?
    Ta

    Manoj/Micheal,
    Regarding using Apache SOAP vs Weblogic SOAP Here is what i Think:
    WebLogic SOAP Implementation is far superior compared to Apache SOAP in regards
    to Performance ,Ease of Use and Level of Maturity Shown during Developing.
    1. I guess if you did some work with Apache SOAP Implementation you would definitely
    love working with WLS SOAP implementation.
    2. You can get started with WLS SOAP(Atleast compared to Apache SOAP version before
    2.1 )when working with WebLogic in less time frame compared to APACHE SOAP.
    3. Regarding MAturity of Product, some one would argue that APACHE SOAP implementation
    is around for sometime.
    But look at the following change in APACHE SOAP2.2 (released on May 30th):
    "Removed non-threadsafe private variables from Servlets"
    I guess Any one who ever worked with Servlets wouldn't make this mistake that
    APACHE SOAP Implementation had for quite sometime.
    Micheal, I don't work for BEA and this is from my experience with Both implementations.
    Hope this helps you in making Right Decision.
    Kumar.
    Manoj Cheenath <[email protected]> wrote:
    >
    Michael wrote:
    I am looking for an example of a client that builds and invokes a SOAP
    message RPC-style and a server side object that receives this request,
    processes it and returns a SOAP message to the client. I could notfind any
    API's either.pls check out: samples/examples/webservices/rpc example.
    Also, what do I gain by using the Weblogic web services over ApacheSOAP on
    WL?among many other things:
    - Performance
    - small size
    - dynamic client
    - java to wsdl & wsdl to java
    - message style invocation
    - easy to expose stateless ejbs as web service

  • SOAP Examples without using calendarlet.jar

    Anyone willing to share any examples of code accessing the calendar server without using the calendarlet.jar files? Language is less important than content.
    Looking to create a light-weight display only client.

    when I try to compile these java file using the
    command in the readme file, I got 100 errors the
    CSDKcalendar.java100 errors are reproted when javac can't find the csdk.jar.
    There was a mistake in the README for the classpath which as since then been corrected.
    classpath should be "$ORACLE_HOME\ocal\jlib\csdk.jar;.", and not "$ORACLE_HOME\jlib\csdk.jar;."
    Regards,
    Jean-Philippe

  • Java WSDP 1.4 is not parsing SOAP Exceptions

    We used Java WSDP 1.4 toolkit to generate stubs for webservices. We used Tomcat 5.1 as the web container. When methods of the webservice are invoked which do not return SOAP exception responses, WSDP is able to properly parse the response and display the resutls correctly. But when the responses contains SOAP exceptions, WSDP always returns
    "java.rmi.RemoteException: Runtime exception; nested exception is: trailing block elements must have an id attribute".
    But other toolkits like Axis 1.1,.Net,ColdFusionMX,Glue are returning proper exceptions messages. The following is the exception message received from the other toolkits for the same method invocation.
    "Exception has been thrown by the target of an invocation. '1000:Invalid data source name 'invalid_String'"
    Apart from Java WSDP all the other toolkits that we mentioned are able to parse the exception message properly and display the same.
    Any ideas why the toolkit is behaving like this. All the versions of Java WSDP that have come till date have a similar problem. We would be happy to hear any responses for the problem the we are facing in Java WSDP 1.4. At present we have decided not to use the toolkit for any web service development.

    Am specifying the URL of the WSDL file for which we are unable to get proper SOAP Exceptions, whenever they are generated. Whenever we give valid values while invoking the methods, the response is properly parsed, but when a SOAP Exception is supposed to be generated, it generally returns the Runtime exception that we mentioned. Can you please look into it and identify the reason about why it is failing. In case you are able to run it through properly, please attach the code that would make it work properly.
    The URL is :
    http://arcweb.esri.com/services/v2/PlaceFinderSample.wsdl

  • Wanted SOAP client and server examples

    I am unable to run the SOAP client and server programs.
    Can anybody help me by providing some simple soap examples of both
    client and server and also how to deploy them.

    JAX-WS has a number of samples as does NetBeans. Check out http:/jax-ws.dev.java.net and http://www.netbeans.org/kb/55/websvc-jax-ws.html

  • ABAP Proxy to SOAP - Logon to Web Application Server Required

    Hello XI Experts,
    I have set up an ABAP Proxy->SOAP example in my IDES system. Everything is working correctly.
    However, when I execute the program which makes the call to the method "EXECUTE_SYNCHRONOUS", a popup appears asking me to enter logon details to the web application server.
    Where do I set the logon information such that this popup no longer appears?
    Thanks in advance,
    NW.

    Hi Nicholas !
    Check this thread:
    ABAP Proxy configuration
    I think it has useful tips about what you should check.
    Regards,
    Matias
    ps: please award points if helpful

  • SOAP validation error

    hi all,
    I am trying to validate a simple soap message against soap schema and the xml message part against my own schema. I am getting the following error:
    Envelope unmarshalled :[Attributes={}] [Header=null] [Body=[Attributes={}] [Body
    Entries=
    [(0)=[pns:staff: null]]
    ]] [EnvelopeEntries=]
    Error: org.xml.sax.SAXParseException: Schema error: sch-props-correct: Duplicate declaration for an attribute group encodingStyle.
    I am unable to understand the problem as I have not defined the encoding style in the SOAP message. I am pasting the soap message created:
    <?xml version="1.0"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://localhost:8080/myDir/XML/schemas/schemas.xmlsoap.org.xsd">
    <s:Body>
    <pns:staff xmlns:pns="http://myDir/XML/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://myDir/XML/schemas http://localhost:8080/myDir/XML/schemas/staff_newns.xsd">
    <name>joe</name>
    <age>22</age>
    <email>[email protected]</email>
    </pns:staff>
    </s:Body>
    </s:Envelope>
    Would greatly appreciate all your help.
    thanks and regards,
    Rishi

    Hi all.
    Im using a simple soap template and validating with org.xml.sax.SAXParser.
    I've set my xmlreader schema and validation on.
    String defaultXMLReader =
    System.getProperties().getProperty("org.xml.sax.driver",
    "org.apache.xerces.parsers.SAXParser");
    reader =
    XMLReaderFactory.createXMLReader(defaultXMLReader);
    reader.setFeature("http://xml.org/sax/features/validation",
    true);
    reader.setFeature("http://apache.org/xml/features/validation/schema",
    true)
    I get the same error when I parse using inputsource or from file:
    sch-props-correct: Duplicate declaration for an attribute group encodingStyle.
    Here's my soap example:
    <?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
    </soap:Header>
    <soap:Body>
    </soap:Body>
    </soap:Envelope>
    Any ideas why the saxparser does not know about the schema location? Is there another feature I need to set in the reader so it knows to locate the schema? btw the parser validates fine other xml that does not have schema location.
    Appreciate help on this. Thanks.

  • Passing a bean as a SOAP parameter

    hi
    I am experimenting with the SOAP example in
    examples.webservices.message provided
    with WLS 6.1 Beta1.
    I have changed to parameter to be a (valid) JavaBean
    ProducerClient seems to be starting to send it ok
    Do I assume that the error (shown below) is actually
    a Class Not Found error because the bean class is not
    known to WLS.
    (I wasnt certain whether the intermediate 'transport layers'
    needed to know anything about the class)
    If so should such classes be placed in the 'lib' directory
    of the WebService application? (and if this is the case
    how to I tell the Ant WSGEN task to do this?)
    I realize that codec/type mapping may also be involved
    but no docs (only have PDFs)
    thanks
    Jim Nicolson
    Client Side exception:
    -------------- SENDING XML --------------
    <?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/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'>
    <SOAP-ENV:Body>
    <ns0:send xmlns:ns0='urn:MsgSend'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
    <ns0:message xsi:type='bean:SOAPParameterBean'
    xmlns:bean='java:com.nicolson.ejp.examples.webservices.wls61.message'>
    <stringField xsi:type='xsd:string'>HelloWorld</stringField>
    <intField xsi:type='xsd:int'>47</intField>
    <booleanField xsi:type='xsd:boolean'>false</booleanField>
    </ns0:message>
    </ns0:send>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    java.io.FileNotFoundException: http://localhost:7001/msg/sendMsg
    at
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
    .java:545)
    at
    sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnect
    ion.java:810)
    at weblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:463)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:431)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:400)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:178)
    at
    com.nicolson.ejp.examples.webservices.wls61.message.SProducerClient.main(SPr
    oducerClient.java:43)
    Exception in thread "main"
    WLS Console Exception:
    <19/07/2001 23:15:16> <Error> <HTTP>
    <[WebAppServletContext(3059366,web-services
    ,/web-services)] Root cause of ServletException
    org.xml.sax.SAXException: Could not find a codec that understood how to
    decode [
    weblogicx.xml.stream.StartElementEvent: ns1:message (urn:MsgSend)]
    [uri->http://www.w3.org/1999/XMLSchema-instance ln->type
    qn->xsi:type val->bean:SOAPParameterBean]
    [uri-> ln->bean qn->xmlns:bean
    val->java:com.nicolson.ejp.examples.webservices.wls61.message] using
    http://schemas.xmlsoap.org/soap/encoding/: [ CodecFactory:
    http://xml.apache.org/xml-soap/literalxml=null,
    http://schemas.xmlsoap.org/soap/encoding/=null, =null]
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:49)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:209)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:127)
    at
    weblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendAd
    apter.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :245)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2279)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :1923)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >

    wsgen ant task can not add files to web-inf\classes directory.
    Jim Nicolson wrote:
    hi manoj
    thanks...
    oops on the set methods - I was treating it as an immutable value object
    (which makes no sense in this context!)
    I have the classes config/examples/client classes directory - I actually
    wouldn't want to put
    them in the server directory so the web-inf\classes dir is the best
    place
    Is there a way of geetting the ANT task to do this or do I have to do it
    after the build?
    I'm struggling a bit with the descriptions of the various ANT task
    attributes in the pdf doco.
    thanks
    Jim
    "manoj cheenath" <[email protected]> wrote in message
    news:[email protected]...
    Two things:
    1. make sure that SOAPParameterBean is available at the server side.
    either in the server classpath or in the web-inf\classes dir of the
    web-services.war
    2. setXXX methods in SOAPParameterBean are protected. It should
    be public.
    HTHs
    -manoj
    Jim Nicolson wrote:
    hi
    Just double checked the pdf doco (its a very simple bean) and
    fields of type String, int, boolean are all supported types
    The WLS message example (and my adaptation) uses dynamic
    service invocation and I'm using the ant build scripts as is.
    I do have the client.jar in my project path.
    Since it is a message based web service, the client just delivers
    an arbitrary object to a queue/topic destination via the web
    service.
    I also changed the int, and boolean fields to Integer and Boolean
    but this made no difference.
    Attached is WSDL, client and bean.
    My eval expires tomorrow so I'll continue this after GA is released
    good luck
    Jim Nicolson
    "CleGro" <[email protected]> wrote in message
    news:[email protected]...
    Hi - actually I'm working on a similar problem:
    1) Are you sure, the bean's properties are of the supported data typeslisted
    here ?
    http://edocs.bea.com/wls/docs61/webServices/develop.html#1038901
    2) Could you send me the generated WSDL document (to compare) please ?
    Cle
    "Jim Nicolson" <[email protected]> wrote:
    hi
    I am experimenting with the SOAP example in
    examples.webservices.message provided
    with WLS 6.1 Beta1.
    I have changed to parameter to be a (valid) JavaBean
    ProducerClient seems to be starting to send it ok
    Do I assume that the error (shown below) is actually
    a Class Not Found error because the bean class is not
    known to WLS.
    (I wasnt certain whether the intermediate 'transport layers'
    needed to know anything about the class)
    If so should such classes be placed in the 'lib' directory
    of the WebService application? (and if this is the case
    how to I tell the Ant WSGEN task to do this?)
    I realize that codec/type mapping may also be involved
    but no docs (only have PDFs)
    thanks
    Jim Nicolson
    Client Side exception:
    -------------- SENDING XML --------------
    <?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/1999/XMLSchema-instance'
    xmlns:xsd='http://www.w3.org/1999/XMLSchema'>
    <SOAP-ENV:Body>
    <ns0:send xmlns:ns0='urn:MsgSend'
    SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
    <ns0:message xsi:type='bean:SOAPParameterBean'
    xmlns:bean='java:com.nicolson.ejp.examples.webservices.wls61.message'>
    <stringField xsi:type='xsd:string'>HelloWorld</stringField>
    <intField xsi:type='xsd:int'>47</intField>
    <booleanField xsi:type='xsd:boolean'>false</booleanField>
    </ns0:message>
    </ns0:send>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    java.io.FileNotFoundException: http://localhost:7001/msg/sendMsg
    atsun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnectio
    n
    ..java:545)
    at
    sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnec
    t
    ion.java:810)
    atweblogic.soap.WebServiceProxy.getSessionCookie(WebServiceProxy.java:463)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:431)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:400)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:178)
    at
    com.nicolson.ejp.examples.webservices.wls61.message.SProducerClient.main(SP
    r
    oducerClient.java:43)
    Exception in thread "main"
    WLS Console Exception:
    <19/07/2001 23:15:16> <Error> <HTTP>
    <[WebAppServletContext(3059366,web-services
    ,/web-services)] Root cause of ServletException
    org.xml.sax.SAXException: Could not find a codec that understood how
    to
    decode [
    weblogicx.xml.stream.StartElementEvent: ns1:message (urn:MsgSend)]
    [uri->http://www.w3.org/1999/XMLSchema-instance ln->type
    qn->xsi:type val->bean:SOAPParameterBean]
    [uri-> ln->bean qn->xmlns:bean
    val->java:com.nicolson.ejp.examples.webservices.wls61.message] using
    http://schemas.xmlsoap.org/soap/encoding/: [ CodecFactory:
    http://xml.apache.org/xml-soap/literalxml=null,
    http://schemas.xmlsoap.org/soap/encoding/=null, =null]
    at
    weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:49)
    at
    weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:209)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:127)
    atweblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendA
    d
    apter.java:109)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
    a
    :245)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.jav
    a
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletC
    o
    ntext.java:2279)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.jav
    a
    :1923)
    at
    weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    Name: SProducerClient.java
    SProducerClient.java Type: java/*
    Encoding: x-uuencode
    Name: SOAPParameterBean.java
    SOAPParameterBean.java Type: java/*
    Encoding: x-uuencode
    Name:examples.soap.msgService.MsgSend.wsdl
    examples.soap.msgService.MsgSend.wsdl Type: unspecified type(application/octet-stream)
    Encoding: x-uuencode

  • CCX 9.0.2 AXL/SOAP query to CCM

    I am trying to create a script in CCX 9.0 premium ha that can perform an AXL/SOAP query on the CCM 9.1 cluster where CCX is registered. What I am trying to do is replicate the forced auth code functionality for a downstream PBX that is behind an MGCP QSIG gateway. I am collecting digits for the FAC. I want to query the facinfo table on CCM, and then transfer the call if I find a match. I have found a number of SOAP examples, but I am not quite able to connect all the dots. I was trying to do it with a URL document, but that step throws an exception because it doesn't trust the self signed cert from CCM.I get the feeling that this step won't allow me to properly format the SOAP query anyway. I can't imagine I am the first person to ever want to do this, but I haven't been able to find anything. I so wish I could just make a JDBC connection to CCM...

    Based on Aaron's comments, I decided to try and adapt/bludgeon the UCMGetUserByExtension java class from Tanner Ezell. I would cite the article number where he posted that, but I can't find it.
    Big disclaimer here. I used to do some C development 15+ years ago, but I have never done Java. I realize that makes me a total neophyte, so I apologize in advance if my questions are overly simple.
    I am trying just to recompile the original source and the current javac (jdk-7u67-windows-i586) is throwing an error. Here is the code block in question exactly as it was formatted in the original JAR file:
          UCMGetUserByExtension localUCMGetUserByExtension = new UCMGetUserByExtension(); UCMGetUserByExtension
            tmp397_395 = localUCMGetUserByExtension;tmp397_395.getClass();localObject1 = new UCMGetUserByExtension.MyTrustManager(tmp397_395);
          TrustManager[] arrayOfTrustManager = { localObject1 };
    The error I get from javac is as follows:
    z:UCMGetUserByExtension.java:56: error: non-static variable this cannot be referenced from a static context
            tmp397_395 = localUCMGetUserByExtension;tmp397_395.getClass();localObjec
    t1 = new UCMGetUserByExtension.MyTrustManager(tmp397_395);
         ^
    z:UCMGetUserByExtension.java:57: error: cannot find symbol
          TrustManager[] arrayOfTrustManager = { localObject1 };
                                                 ^
      symbol:   variable localObject1
      location: class UCMGetUserByExtension
    3 errors
    2 warnings
    I tried defining localObject1 instead as "UCMGetUserByExtension localObject1", but then I get this error "non-static variable this cannot be referenced from a static context". I found some articles on stackoverflow, so I redefined MyTrustManager as "static public class" instead of just "public class", but that caused this error "constructor MyTrustManager in class MyTrustManager cannot be applied to given types". I feel pretty certain that is fairly elementary java data typing, but the answer has eluded me thus far. :-(

  • Implementing soap.jar in jdk ist not possible, wrong classpath???

    hi
    i want to run a soap example
    my problem at the moment ist, the java compiler
    isn't able to find the soappackages like org.apache.soap.rpc.*
    i changed my registryconfiguration (winnt4.0 sp6) setting the
    classpath to c:\soapinstalldir\lib\soap.jar but it doesnt work
    the serverside is running using iplanet web- and app-server with
    the apache soap plugin
    does anybody know where to copy the class-files of my application
    in order to be able to deploy and to run the application
    do i need to write a deployementdescriptor?
    if yes, how?
    thanks
    jesse blue

    Check my reply to that other thread... perhaps it will help?
    jesse blue wrote:
    hi
    i want to run a soap example
    my problem at the moment ist, the java compiler
    isn't able to find the soappackages like org.apache.soap.rpc.*
    i changed my registryconfiguration (winnt4.0 sp6) setting the
    classpath to c:\soapinstalldir\lib\soap.jar but it doesnt work
    the serverside is running using iplanet web- and app-server with
    the apache soap plugin
    does anybody know where to copy the class-files of my application
    in order to be able to deploy and to run the application
    do i need to write a deployementdescriptor?
    if yes, how?
    thanks
    jesse blue

  • Access denied Error when trying to run Tomcat that came with JWSDP

    Hi fellows,
    I went through the forums and found same error posted by someone but no soultion to that.
    So hope this time i get lucky.
    I am running this on win 98(it really sucks)
    After I try to run the startup.bat i get the error:
    Using CATALINA_BASE: C:\JWSDP-1_0-EA2
    Using CATALINA_HOME: C:\JWSDP-1_0-EA2
    Using CATALINA_TMPDIR: C:\JWSDP-1_0-EA2\temp
    Using JAVA_HOME: C:\JDK13~1.1_0
    Access is denied.
    I don't know where to put the build.properties. Any helpful comment will be greately appreciated.
    Regards,

    Folks
    Obviously the EA(Early Access) is just that! I've managed to get around the problem, and run a sample (ConverterBean) using JWSDP with Tomcat on Win98. Here's the workaround:
    1> In the startup.bat, replace "start" with "run". Type "startup" from cmd line. This will start Tomcat in the same window.
    2> Create the build.properties file in the same location as build.xml. For the Getting Started example, this will be in <jwsdp-home>\docs\tutorial\example\gs.
    3> Once you build the sample files, copy the classes directory and index.jsp to <jwsdp-home>\webapps\ROOT\WEB-INF
    4> Update setclasspath.bat in <jwsdp-home>\bin directory to include <jwsdp-home>\webapps\ROOT\WEB-INF\classes.
    5> In the browser, type http://localhost:8080/index.jsp
    BINGO!!!!
    Cheers!
    Pravin
    I hava the same problem
    Using CATALINA_BASE: C:\JWSDP-~1
    Using CATALINA_HOME: C:\JWSDP-~1
    Using CATALINA_TMPDIR: C:\JWSDP-~1\temp
    Using JAVA_HOME: C:\J2SDK_FORTE\JDK1.4.0
    Zugriff wurde verweigert. (access is denied)

  • ANT Install on WIN NT

    Can I use JWSDP-1_0 on Windows NT 4?
    In installation instructions it is mentioned that this WSDP-1_0 is not supported on win NT but can be installed.
    So if I install it on Win NT where do I need to keep build.properties file?
    When I try to to install it on Tomcat I get following error and build fails
    D:\jwsdp-1_0\docs\tutorial\examples\gs\build.xml:82: java.io.IOException: Server returned HTTP response code: 401 for
    URL: http://localhost:8080/manager/install?path=%2FGSApp&war=file%3AD%3A%5Cjwsdp-1
    _0%2Fdocs%2Ftutorial%2Fexamples%2FGSApp%2Fbuild
    any suggestions will be great help

    Thanx fzlx for the reply.
    I tried the way u suggested but this time install failed because of other reason
    connection failure.
    Anyway in the meantime I was able to deploy the Web app, for this I executed Application Manager with explicitly assigning username and password
    Thanx anyway.

  • Help running xrpcc

    Hi,I am totally new with this webservices stuff.
    Here is what I am doing,I read the tutorial about The JavaTM Web Services Tutorial ,in the JAX-RPC section.
    I am trying to complete the examples they have in this part of the article.
    I compiled everything and tried to create stubs in the following manner
    C:\jwsdp-1_0-ea2\bin>xrpcc -both -d C:\webservices\ C:\development\java\we
    bservices\classes\webservices\coffees\CoffeeOrderIF.class
    when I run this I get this error
    error: error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.P
    arseException:1: Character conversion error: "Malformed UTF-8 char -- is an XML
    encoding declaration missing?" (line number may be too low)
    Can some one shed some light,since I have no Idea why its looking for an xml file that doesn'nt have the root element
    Thanks

    The xrpcc tool takes an XML configuration file that specifies either RMI interfaces or a WSDL document rather than the service interface class file.
    Please refer to %JWSDP_HOME%\docs\tutorial\doc\JAXRPCxrpcc.html for information on the xrpcc tool.

Maybe you are looking for

  • In Oracle 9 Application Server can we create multiple instances???

    Hi I need one help this is regarding to the oracle 9 application server in this can we create the multiple instances?? my application was already developed and currently it is working with one instance for this i need to create the another one more i

  • Why does my password keep changing?

    My apple Id password keep changing every 2 days. How do I prevent it?

  • Username and password problems with CS3

    I have Dreamweaver CS3 Version 9.0 Build 3481 When I close Dreamweaver and reopen it I lose any usernames and passwords for FTP. How do I solve this? The 8.0.2. Updater does not work for my version. Thank you

  • Configuring Commit driver for IPM 11g in ODC

    Hi, I am trying to configure the commit driver for a commit profile. I have selected the Oracle I\PM 11g Commit Driver and clicked on configure button, As I click on configure button, it pops up an error message saying: Run Time Error '40009' :* The

  • Problem with "Show Format" bar in Mail

    The bold, italic, and underline buttons are not working on my "Show Format" bar in Mail. NOTHING will make them work: clicking on a button before I type: selecting/highlighting and then clicking on a button after I type; choosing command+I, command+B