Trying to do a XML dump for soap using AXIS

Hi there,
I'm trying to get a dump of the XML I am generating for a SOAP transaction. I've done a bit of a seach, and it seems that I need to put the following in my JRX-RPC security file
<xwss:SecurityConfiguration>
<xwss:SecurityConfiguration dumpMessages="true">
The only problem being..... My jrxrpc jar doesn't appear to have a security file.
I thought therefore it was probably just inheriting the information from my Java setup. So I wanted to change Java\jdk1.5.0_06\jre\lib\security, but there is nothing in there that looks remotely like the xml above.
Can anyone give me a pointer exactly where I should be putting these things?
Thanks very much
Dianne

To use the TCPMonitor:
Say you are running your axis service on localhost port 8080
Launch TCPMonitor, i.e.:
java -classpath c:\axis-1_4\lib\axis.jar org.apache.axis.utils.tcpmon 1234 127.0.0.1 8080
Now edit your XXXServiceLocator class so that the address points to port 1234 instead of 8080
Now TCPMonitor will log all request/response pairs and forward your requests on for you to the correct port.

Similar Messages

  • Licensing XML libraries for commercial use...

    After reading the license terms for the XML parser for 'C', I am confused. The license document embedded in the download package, says you need to contact Oracle to license the library for commercial use. However, the click-wrap license for the OTN says you can use the technologies in commercial products. These totally contradict each other. I called Oracle and asked the following question, and after talking with 3 people, nobody knew a difinitive answer.
    Here is the question: If I use the Oracle XML parser for 'C' library in the construction of a commercial application that I am selling, do I need purchase a license from Oracle to do this? If so, who do I contact?
    Thanks,
    - Ted
    null

    It doesn't matter to me as much that the two agreements are different. What I am most concerned with is that BOTH say that I cannot build commercial/for-sale products using the kit without paying for a license. Who do I contact to get a license to use?
    I called the number on the agreement and spoke to people who had no idea what I was talking about, nor who I could talk to.
    Also, since you asked, I have attached the two different sections from the two license agreements below.
    Thanks,
    - Ted
    [email protected]
    DEVELOPMENT ONLY LIMITED LICENSE: Oracle grants Customer a nonexclusive, nontransferable limited license to use the Programs for development purposes only in the indicated operating environment identified by Oracle for a single developer user (one person) on a single computer. Customer may not use the Programs for internal data processing operations or any other commercial or production use. If Customer desires to use the Programs for any use other than the development use allowed under this Agreement, Customer must contact Oracle, or an Oracle reseller, to obtain the appropriate licenses. Customer may make one copy of each licensed Program for backup. No other copies shall be made without Oracle's prior written consent. Customer shall not: (a) remove any product identification, copyright notices, or other notices or proprietary restrictions from Programs; (b) use Programs for commercial timesharing, rental, or service bureau use; (c) transfer, sell, assign or otherwise convey
    Programs to another party without Oracle's prior written consent; (d) cause or permit reverse engineering, disassembly, or decompilation of Programs, except to the extent required for interoperability or to the extent that the foregoing restriction is expressly prohibited by law; or (e) disclose results of any benchmark tests of any Program to any third party without Oracle's prior written approval. This Agreement does not authorize Customer to use any Oracle name, trademark or logo.
    ----->
    II. PROGRAM DISTRIBUTION RIGHTS: Oracle grants to Customer a nonexclusive, nontransferable right to copy and distribute the Programs to third party users ("User(s)") under the terms specified herein, provided that such distribution is free of charge. Prior to distributing the Programs for use by Users, Customer shall require Users to execute a written agreement binding Users to contractual provisions identical to those contained in Section I, III-XI inclusive, a provision specifying that Users shall have no right to distribute the Programs, and a provision specifying Oracle as a third party beneficiary of the User Agreement to the extent permitted by applicable law ("User Agreement"). Customer agrees that it is Customer's responsibility to obtain User Agreements

  • Is crossdomain.xml Needed for SOAP Web Services?

    A Flash developer who is attempting to use Flash to access a
    SOAP web service provided on one of our servers says we need to add
    a crossdomain.xml file to our server listing their domain as an
    acceptable source. The SOAP service simply accepts some data and
    returns a status. It doesn't make sense to me that we would need to
    provide a crossdomain.xml file. If we did, all web services all
    over the Internet would have to do the same to allow Flash to call
    them.
    If I am correct and the file is not necessary, then what else
    in FlashPlayer might be blocking their attempts to access our
    server? I don't know much about Flash, but I do know some sort of
    security configuration files are necessary to allow SWF files to
    access the Internet. Could this be what they are missing?

    low_right wrote:
    > A Flash developer who is attempting to use Flash to
    access a SOAP web service
    > provided on one of our servers says we need to add a
    crossdomain.xml file to
    > our server listing their domain as an acceptable source.
    The SOAP service
    > simply accepts some data and returns a status. It
    doesn't make sense to me
    > that we would need to provide a crossdomain.xml file. If
    we did, all web
    > services all over the Internet would have to do the same
    to allow Flash to call
    > them.
    >
    > If I am correct and the file is not necessary, then what
    else in FlashPlayer
    > might be blocking their attempts to access our server? I
    don't know much about
    > Flash, but I do know some sort of security configuration
    files are necessary to
    > allow SWF files to access the Internet. Could this be
    what they are missing?
    >
    >
    Yes, you need a crossdomain.xml file in place. When I do SOAP
    calls to
    a service not under my control I just write a proxy for it,
    then I don't
    need to have anyone add the crossdomain policy file.

  • Incoming XML validation for SOAP adapter request

    Hi,
    Does anyone know of a method to validate incoming XML request against the relevant XSD definition and return a SOAP fault message to the calling application ?
    I guess this would involve BPM unless there is some sort of module that can be used.
    Please advise.
    Kind regards
    Colin.

    Hi Michal,
    Would you suggest a simple BPM or an adapter module ?
    I would hope a simple BPM would be the way it could be done.
    Cheers
    Colin.

  • Trying to organize a new workflow for travel using a desktop, laptop and IPad using LR mobile

    Apologies in advance as I'm sure this has been asked but I am swamped with information on the web. 
    OK for travel I want to upload images to my laptop from my CF cards.  I then want to be able to make basic edits and flags on the laptop (which I am yet to purchase) and then have this reflect on my desktop.  I have LR mobile so figured the laptop access would allow me to do the same things as if I was viewing on the IPad but apparently not...Please help!
    I have read about some people exporting the catalog backwards and forwards between the 2 devices and this seems messy and I don't think I want to get into that.  A main attraction was to be able to upload and edit on the road (I'm taking a 3.5 week trip to Cambodia) and then on my return to my desktop have a lot of the work done to then make final detailed edits and subsequent books, prints etc.
    I love photography but I'm not a tech geek so any help/suggestions appreciated!

    On the laptop start a new catalogue for the trip. Import all new photos into it. At the end, copy it and the images to the desktop and in, your main catalogue, use File > Import from Another Catalog to bring in all the work in the trip catalogue. Maybe practice this workflow now and return with other questions?

  • XML Parser for PLSQL and BIG5/UTF-8

    I'm trying store data in traditional chinese submitted by IE5 (through oXMLHttpRequest.send() and javascript), I tried both 'encoding="BIG5"' and 'encoding="UTF-8"'.
    It seems that the parser ignore all characters that are not ascii regardless of their encoding.
    Any thoughts will be much appreciated
    procedure UpdateXMLProc(xmlSrc varchar2)
    is
    p xmlparser.parser;
    doc xmldom.DOMDocument;
    nlist xmldom.DOMNodeList;
    list_len pls_integer;
    node1 xmldom.DOMNode;
    node2 xmldom.DOMNode;
    node3 xmldom.DOMNode;
    begin
    p := xmlparser.newParser;
    xmlparser.parseBuffer(p, xmlSrc);
    doc := xmlparser.getDocument(p);
    nlist := xmldom.getElementsByTagName(doc, 'ROW');
    list_len := xmldom.getLength(nlist);
    -- loop through elements
    for j in 0..list_len-1 loop
    node1 := xmldom.item(nlist, j);
    -- get primary key values
    node2 := xmldom.getFirstChild(node1);
    loop
    -- get the text node and if not null get value
    node3 := xmldom.getFirstChild(node2);
    if not xmldom.isNull(node3) then
    -- THIS OUTPUT MAY ALTER CHARACTER IF IT'S NOT ASCII
    htp.p(xmldom.getNodeValue(node3));
    end if;
    -- get next field
    node2 := xmldom.getNextSibling(node2);
    exit when (xmldom.isNull(node2));
    end loop;
    end loop;
    -- THIS OUTPUT WILL BE IN THE SAME ENCODING AS THE ORIGINAL
    htp.p(xmlSrc);
    end;
    null

    I just ran the initjvm.sql,initdbj.sql and
    initsqlj.sql.
    Still getting the error.
    Please help!!!!
    Thanks
    Jay
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jay ([email protected]):
    I have Oracle8i Release 8.1.5.0.0 - ProductionWith the Java option
    PL/SQL Release 8.1.5.0.0 - Production version
    runnig in sun sparc server.
    While I am loading Oracle XML Parser for PLSQL(using plxmlparser_V1_0_1.tar.gz) have a problem. When I try to load the xmlparser.jar class and I get the
    following messages:
    initialization complete
    Error while accessing MD5 table
    ORA-00942: table or view does not exist
    loading : org/w3c/dom/DOMImplementation
    Error while loading org/w3c/dom/DOMImplementation
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "TEST.LOADLOBS" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    creating : org/w3c/dom/DOMImplementation
    Error while creating class org/w3c/dom/DOMImplementation
    ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater
    Error while accessing MD5 table
    ORA-00942: table or view does not exist
    loading : org/w3c/dom/html/HTMLDivElement
    Error while loading org/w3c/dom/html/HTMLDivElement
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "TEST.LOADLOBS" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    and so on.
    Could anyone please tell me if I need to do any pre-installation steps.
    Thanks
    Jay<HR></BLOCKQUOTE>
    null

  • Errors installing XML Parser for PL/SQL

    I tried to install the parser and get the following errors :
    D:\xml\lib\java>loadjava -user user/pwd -r -v xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XSLResultElement
    creating : oracle/xml/parser/v2/XSLResultElement
    Error while retrieving errors for oracle/xml/parser/v2/XSLResultElement
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XSLCopy
    creating : oracle/xml/parser/v2/XSLCopy
    Error while retrieving errors for oracle/xml/parser/v2/XSLCopy
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while retrieving errors for oracle/xml/parser/v2/XMLByteReader
    ORA-00904: invalid column name
    We have Oracle 8.1.5.0.0 running with JRE 1.1.8 installed.
    I updated loadjava.bat to call JRE 1.1.8 instead of JRE 1.1.7.
    Can't afford an upgrade to 8.1.6
    Any help appreciated

    Geoff Hicks (guest) wrote:
    : Problems being experienced trying to install the XML parser for
    : PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
    : We are on Oracle8i (8.1.5.0.0) (with JServer).
    : On installing the Oracle XML parser for PL/SQL the following
    : errors appear having run the loadjava command line tool for
    : xmlparser.jar:-
    : loading : META-INF/MANIFEST.MF
    : creating : META-INF/MANIFEST.MF
    : Error while creating resource META-INF/MANIFEST.MF
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : loading : xmlparser_1.0.1.4_production
    : creating : xmlparser_1.0.1.4_production
    : Error while creating resource xmlparser_1.0.1.4_production
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : Lots of the following resolver errors are returned:-
    : resolver :
    : Error while resolving class org/w3c/dom/html/HTMLDivElement
    : ORA-00904: invalid column name
    It looks like you have not initialized JServer in your 8.1.5
    database. This needs to be done first.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Installation of xml parser for PLSQL

    Hi,
    I hv installed oracle 8.1.7 on windows with
    jserver.
    and I did following step to install xml parser for PLSQL.
    1. loadjava -user usernmae/password@connectstr -r -v xmlparserv2.jar
    2. loadjava -user usernmae/password@connectstr -r -v xmlplsql.jar
    loading both jar files gives errors like
    resolving: oracle/xml/parser/plsql/xmlparsercover
    Error while computing shortname of oracle/xml/parser/plsql/xmlparsercover
    ORA-29540 - class oracle/aurora/rdbms/dbmsjava does not exists
    ORA-06512: in admin.dbms_java line o
    ORA-06512: IN LINE 1
    i am getting this error for all class..
    after thjat i run oracle_home/xdk/plsql/parser/bin/load.sql
    and then when i try to run demo example
    ( oracle_home/xdk/plsql/demo/ )
    then its giving following error..
    ORA-29541: class ADMIN.oracle/xml/parser/plsql/XMLParserCover could not be
    resolved
    ORA-06512: at "ADMIN.XMLPARSERCOVER", line 0
    ORA-06512: at "ADMIN.XMLPARSER", line 57
    ORA-06512: at "ADMIN.DOMSAMPLE", line 72
    ORA-06512: at line 1
    Does anyone has idea about these errors..
    need help urgently..
    Thanx
    Mehul

    Geoff Hicks (guest) wrote:
    : Problems being experienced trying to install the XML parser for
    : PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
    : We are on Oracle8i (8.1.5.0.0) (with JServer).
    : On installing the Oracle XML parser for PL/SQL the following
    : errors appear having run the loadjava command line tool for
    : xmlparser.jar:-
    : loading : META-INF/MANIFEST.MF
    : creating : META-INF/MANIFEST.MF
    : Error while creating resource META-INF/MANIFEST.MF
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : loading : xmlparser_1.0.1.4_production
    : creating : xmlparser_1.0.1.4_production
    : Error while creating resource xmlparser_1.0.1.4_production
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : Lots of the following resolver errors are returned:-
    : resolver :
    : Error while resolving class org/w3c/dom/html/HTMLDivElement
    : ORA-00904: invalid column name
    It looks like you have not initialized JServer in your 8.1.5
    database. This needs to be done first.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Resize photos for online use

    I have been trying all afternoon to resize photos for online use and can not follow directions given.  I know it must be simple but I am stumped.  I would like to speak to a real person and I'm sure my problem will be solved in less than five minutes.  PLEASE do not tell me to follow guidelines; I have tried that.
    Kay Wilhelm

    Hi Kay,
    As an example, let's say we're trying to prepare this 1000x664 pixel, 1MB image for online posting. 
    If the website you're posting to is giving you a maximum dimension, for example that the image has to be 600 pixels across or less, then follow these 4 steps:
    1. Go to File -> Save for Web
    2. In the Save for Web panel, look for the Image Size boxes. 
    3. Enter the desired dimension.  For example, if the website you're trying to upload to requires that images be 600 pixels across, enter 600 in the Width box.  The height should recalculate automatically. 
    4. Hit the Save button.  You will now have an image saved to the required pixel dimensions!
    If the requirement is for a maximum file size, rather than specific file dimensions, you would follow a different procedure.  If we were trying to resize the same 1000x664 pixel, 1MB image to a size of 100KB or less, we would follow these steps:
    1. Go to File -> Save for Web
    2. In the upper right hand corner of the Save for Web panel, make sure the format is set to JPEG.  Our original image was a PNG, which tends to have a larger file size.  JPEG images tend to have a smaller file size.
    3. In the Save for Web panel, look for the projected size of the file as saved with the current settings.  This is below the lower left hand corner of the image.  In this case, it is 170KB, which is higher than our desired maximum size of 100KB.  
    3.  The easiest way to control the file size at a given pixel dimension is by reducing the image quality.  The controls for image quality are in the upper right hand corner of the Save for Web panel.  The default setting for JPEG exports is 60%. 
    4.  You will need to determine how far you want to reduce the image quality in your particular case.  In this example, we can reduce the quality from 60% to 40% without affecting the visible image quality too much.  Setting the quality to 40% reduces the image size to 99KB, which is below our maximum of 100KB.
    5. When you are satisfied with the quality settings, press Save to save your image. 
    Hope this helps!

  • XML header for WebServices (SOAP)

    Hi all!
    I have quite strange problem about XML header in SOAP message for WS. Usually I don't care about XML header in SOAP message, because so far I had no problems calling load of WS on different servers. Stnadard XML header that comes out looks like this (1.0 and UTF-8 are in single quotes): <?xml version='1.0' encoding='UTF-8'?>.
    But this time, the webserver I'm trying to call accepts only double quotes, e.g. like this: <?xml version="1.0' encoding="UTF-8"?>, it doesn't understand single quotes at all and there is no way of changing it!
    JDeveloper uses apache soap for standard and makes single quotes. I tried raw http call by wrapping all text into post method -> that works, so webservice is working.
    I can't set anything except endpoint, parameters, method :(
    How can I make call that uses double quotes?
    Pseudo logic is like this:
    Vector params = new Vector();
    params.addElement(xxxx);
    Call call=new Call("xxx", "xxx", params, xxx, Constants.NS_URI_SOAP_ENC);
    Response response = call.invoke(endpointURL, "xxx");

    Hacked Oracle (apache) classes and put right values in it.
    It was hard coded string, who on earth could thought that :D

  • No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Messag

    Hi,
    I am developing a soap web service using apache axis tool. I am using tomcat6 and jdk6. I need to return SOAPMessage as return object from remote interface methods. Now I have success fully deploy web service in tomcat. Also I have create client too, but when I am trying to call web service throw client then it show me a exception on client is
    org.xml.sax.SAXParseException: Premature end of file.
    and on server log, it show me this exception
    java.io.IOException:
    xisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.M
    ssage1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@98062f
    faultActor:
    faultNode:
    faultDetail:
           {http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializer found for class com.su
    .xml.messaging.saaj.soap.ver1_1.Message1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@
    8062f
           at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)
           at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
           at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1055)
           at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
           at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
           at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
           at org.apache.axis.Message.writeTo(Message.java:539)
           at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
           at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
           at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:2
    0)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:58
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)
           {http://xml.apache.org/axis/}hostname:EMRG-409964-L19
    ava.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
    n registry org.apache.axis.encoding.TypeMappingDelegate@98062f
           at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
           at org.apache.axis.Message.writeTo(Message.java:539)
           at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
           at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
           at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:2
    0)
           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:58
           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
           at java.lang.Thread.run(Thread.java:619)
    aused by: java.io.IOException: No serializer found for class com.sun.xml.messaging.saaj.soap.ver1_1.Mess
    ge1_1Impl in registry org.apache.axis.encoding.TypeMappingDelegate@98062f
           at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1507)
           at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
           at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:1055)
           at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
           at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
           at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
           at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
           ... 19 moreI have deploy new version of saa-impl.jar and saaj-api.jar too. And I also have deploy webservice-rt.jar too in server lib and application lib folder. but still this exception is there. I dont understand, how can I over come from this error. If some one have resolved this type of exception then please reply. Please reply me on [email protected]
    --Thanks in Advance
    Umashankar Adha
    Sr. Soft. Eng.
    United States

    FYI, now I'm in work:
    import javax.xml.namespace.*;
    import javax.xml.rpc.*;
    import javax.activation.*;
    import javax.mail.*;
    import com.sun.xml.messaging.saaj.*;
    -classpath D:\jwsdp-1.3\jaxp\lib\endorsed\dom.jar;D:\jwsdp-1.3\jaxp\lib\endorsed\xercesImpl.jar;D:\jwsdp-1.3\saaj\lib\saaj-impl.jar;D:\jwsdp-1.3\saaj\lib\saaj-api.jar;D:\jwsdp-1.3\jwsdp-shared\lib\activation.jar;D:\jwsdp-1.3\jwsdp-shared\lib\mail.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-impl.jar;D:\jwsdp-1.3\jaxrpc\lib\jaxrpc-spi.jar;D:\jwsdp-1.3\jwsdp-shared\lib\jax-qname.jar
    Those are what I had to use to get it working.
    Chris

  • SOAP vs. XML-RPC for synchronous Web Services applications

    Hi everyone, I have to finish one project soon and I have to make a decision. Because I don't have much time I want to ask if anyone can answer me, what are the major differences bettween SOAP vs. XML-RPC for synchronous Web Services applications. I'll be very grateful if you help me!
    Thanks in advance!

    Come on guys i know you can help me, please don't hesitate to write some row

  • Javax.xml.soap.SOAPException: Unable to create message factory for SOAP

    I installde jwsdp1.5 and tomcat50-jwsdp, want to use the local registry server in jwsdp1.5 to publish and query services. the code can run successfully on other PC, but I can not run it successfully.
    when I run the JSP+Servlet to publish a service, the information is:
    javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
         at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
         at Publish.doPost(Publish.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
         ... 32 more
    what can I do?? Help me please!!Thanks very very very much!

    It seems saaj-impl.jar (in case of Sun One Server) or the jar which contains implementationof SAAJ API is not in the classpath.

  • Unable to locate the xml-definition for FieldName with FieldId '1f8a351c-965d-4927-9c22-8772b7089f55' when trying to activate feature with references a custom field type

    I´ve a solution which contains a custom field type (found somewhere on the net, the custom field type maps a choice field to managed metadata). There is a second solution which contains site column and site content type definitions using the custom field
    type definition from field type solution.
    On my developement environment, there is no problem with this two solutions. When field type solution is deployed, i can deploy the content type solution and activate the feature and everything is fine.
    However if i give the two solutions to our adminstrator to deploy them into our staging environment, content type feature activation fails. Deploying the field type solution makes no problems. The field type is then available and i can manually creates
    columns with this new field type. However activating the content type solution fails with the error shown in the title of this message. The FieldID from the message is not part of my content type project. Searching the net doens´t show any results for that
    id. So i think it´s not some of the standard field id´s from sharepoint.
    Can anyone help?

     Stack Trace
    Unable to locate the xml-definition for FieldName with FieldId '1f8a351c-965d-4927-9c22-8772b7089f55', exception: Microsoft.SharePoint.SPException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) ---> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
    at Microsoft.SharePoint.Library.SPRequestInternalClass.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)
    at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes) -
    -- End of inner exception stack trace ---
    at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
    at Microsoft.SharePoint.Library.SPRequest.GetGlobalContentTypeXml(String bstrUrl, Int32 type, UInt32 lcid, Object varIdBytes)
    at Microsoft.SharePoint.SPFieldCollection.FetchFieldsFromWeb()

  • DateTime Field causes dump in SOAP webservice

    We're consuming a web service written in C# (.NET 4.0) which has datetime (xsd:dateTime) fields. The ABAP proxy class dumps when the service response is returned with:
    CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1SAI/TXS72F7E0958348097F34D9.Value 2011-12-15T00:00:00 is not a valid date with time in accordance with the XML format for ABAP
    Apparently SAP expects 2011-12-15T00:00:00Z but we are getting 2011-12-15T00:00:00 (without the Z). What does this mean and how can we fix it? Our .NET developer apparently has no control over the "Z" and this all seems a bit of strange reason to dump.
    Here is the partial SOAP response:
    <Expires>2011-07-18T00:00:00</Expires>
    Here is the relevant WSDL:
    <xsd:element minOccurs="0" name="expires" type="xsd:dateTime" />

    ping

Maybe you are looking for