Re: Setting up Java Web Services, specifically SAAJ

From: William Brogden (wbrogden_at_bga.com)
Date: 11/26/03

  • Next message: Alex Hunsley: "Re: !!! Help! Can Java pass variables to JavaScript?"
    Date: Wed, 26 Nov 2003 08:19:07 -0800
    
    

    "Martin Wood" <madmarty@bigfoot.com> wrote in message
    news:qb1xb.26589$K%5.15315@news-binary.blueyonder.co.uk...
    > Hi there,
    >
    > I'm having a bit of trouble with getting SAAJ to work properly. I'm on
    > Debian, and downloaded and installed the web services pack fine AFAIK.
    >
    > Apart from it being a rude awakening to the necessity of setting your
    > classpath it seems to be working fine apart from a complete show stopper:
    >
    > I compile the programed I want to run (a simple test client that will
    > send a SOAP message to a server), but the client always bombs out with
    > this message:
    >
    > javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
    > Provider
    > com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl not found
    >
    >
    > My class path (with added spaces for readability)
    >
    > export CLASSPATH=.:
    > /usr/local/bin/jwsdp-1_3/saaj/lib/saaj-api.jar:
    > /usr/local/bin/jwsdp-1_3/saaj/lib/saaj-impl.jar:
    > /usr/local/bin/jwsdp-1_3/jwsdp-shared/lib/mail.jar:
    > /usr/local/bin/jwsdp-1_3/jwsdp-shared/lib/activation.jar

    Is it possible that earlier versions of saaj are being found first? Possibly
    due to the extension mechanism?
    See the findingclasses.html in docs/tooldocs of your SDK installation

    >
    >
    > As you can see, I've included saaj-impl.jar, which I assumes the message
    > refers to. I've even looked inside the jar file - indeed the
    > SOAPMessageFactory1_1Impl.class is there.
    >
    >
    > What does this message mean? I've searched the web but found nothing.
    > If someone could point me on the right lines, I would be ever so grateful.
    >
    >
    > TIA,
    >
    > --
    > Martin Wood

    ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
    http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
    ---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---


  • Next message: Alex Hunsley: "Re: !!! Help! Can Java pass variables to JavaScript?"

    Relevant Pages

    • FrontPage Extensions trouble
      ... wondering how far the influence of the frontpage extensions extends. ... would like to be able to put .net 2.0 web services on a web host in the ... able to put classic ASP files in the same directory and use FTP and IE ... the front page extensions installation. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: SBS web access publusing missing
      ... This is a fresh install on the same server. ... previous installation was in demo mode and that had the rules. ... Web services on your server's default Web site to be available through ... firewall to users on the Internet: ...
      (microsoft.public.windows.server.sbs)
    • Re: SBS web access publusing missing
      ... If that's the case then something must have gone wrong during the installation. ... I would run CEICW again, I would even try to reinstall ISA but if the problem persist I would try posting at the ISA newsgroup if you don't get an answer here. ... >>> Web services on your server's default Web site to be available ...
      (microsoft.public.windows.server.sbs)
    • SSL and BizTalk?
      ... I have a problem with BizTalk and SSL. ... i have a BizTalk installation on a second machine with ... thumbprint of the certificate in the transport URI and so on, ... is there a guide on how to consume web services via https using ...
      (microsoft.public.biztalk.general)