SOAP messages Listener, help plz

I'm new to web services and I have to do a projec that makes some analysis on the SOAP messages. My problem now is how to catch the SOAP messages sent/received by a web service and save it for the further analysis?. I'm using Apache Axis2 with jdk 1.6 using Eclipse. Could anyone suggest me how to do it please

I am connecting to the database successfully ....
but I am not able to use my web application....
when I am typing the address of my web applicaion it is giving me the error as...plz confirm that is it a Listener error..or ODBS error
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Oracle][ODBC][Ora]ORA-12541: TNS:no listener

Similar Messages

  • My ipod touch is not showing up on itunes... help (read whole message if helping plz)

    i tried to update my ipod but i unplugged it accidentally and it now says plug in to itunes but it wont show up on itunes and its stuck saying plug into itunes... HELP PLEASE!

    seen these?
    iPod not recognized correctly on Toshiba laptop
    iPod not recognized when connected to Windows laptop over USB
    Charging icon appears but not recognized by computer

  • Plz help Error in encoding Soap Message

    hii,
    im new to web services ,im doing a test application using netbeans 5.5 which retrieves some information from database.Its working fine if i return eother a string or a list of strings from webservice method.
    But if im using a user defined datatype as return value its giving follwing error
    SEVERE: Error in encoding SOAP Message
    Error in encoding SOAP Message
    at com.sun.xml.ws.encoding.soap.server.SOAPXMLEncoder.toSOAPMessage(SOAPXMLEncoder.java:113)
    at com.sun.xml.ws.handler.SOAPMessageContextImpl.getMessage(SOAPMessageContextImpl.java:97)
    at org.handler.PropertyMessageHandler.handleMessage(PropertyMessageHandler.java:27)
    at org.handler.PropertyMessageHandler.handleMessage(PropertyMessageHandler.java:24)
    at com.sun.xml.ws.handler.HandlerChainCaller.callProtocolHandlers(HandlerChainCaller.java:675)
    at com.sun.xml.ws.handler.HandlerChainCaller.internalCallHandlers(HandlerChainCaller.java:444)
    at com.sun.xml.ws.handler.HandlerChainCaller.callHandlers(HandlerChainCaller.java:374)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.callHandlersOnResponse(SOAPMessageDispatcher.java:448)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.getResponse(SOAPMessageDispatcher.java:307)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:601)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:141)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:333)
    at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:288)
    at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
    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:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [javax.xml.bind.JAXBException: org.bean.PropertyBean nor any of its super class is known to this context]
    at com.sun.xml.ws.encoding.jaxb.JAXBBridgeInfo.serialize(JAXBBridgeInfo.java:88)
    at com.sun.xml.ws.encoding.soap.SOAPEncoder.writeJAXBBridgeInfo(SOAPEncoder.java:252)
    at com.sun.xml.ws.encoding.soap.SOAPEncoder.writeBody(SOAPEncoder.java:569)
    at com.sun.xml.ws.encoding.soap.server.SOAPXMLEncoder.toSOAPMessage(SOAPXMLEncoder.java:95)
    ... 33 more
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [javax.xml.bind.JAXBException: org.bean.PropertyBean nor any of its super class is known to this context]
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:246)
    at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:64)
    at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:86)
    at com.sun.xml.ws.encoding.jaxb.JAXBBridgeInfo.serialize(JAXBBridgeInfo.java:86)
    ... 36 more
    Caused by: javax.xml.bind.JAXBException: org.bean.PropertyBean nor any of its super class is known to this context
    at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:219)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:234)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:562)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:29)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:132)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:594)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:241)
    ... 39 more
    Caused by: javax.xml.bind.JAXBException: org.bean.PropertyBean nor any of its super class is known to this context
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:474)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:557)
    ... 45 more
    Can any body help me im struck here for the last 2 days
    thnx
    RAJESH

    Are u sure that u correctly configure Apex (marvel.conf)?
    Have u include this file in httpd.conf?

  • Help, how to monitor the soap message sent by JAX-WS

    Hi,everyone:
    I want to monitor the soap message sent by JAX-WS using apache TCPMon.
    For example, the JAX-WS is deployed on port 8080 , I make TCPMon listening on port 4444 and send soap request to port 4444 using JAX-WS.
    Code in client:
    @WebServiceClient(name = "JAX_WS", targetNamespace = "http://www.example.org/JAX_WS/", wsdlLocation = "file:/E:/zwz/EclipseWorkspace/JAX_WSDemo/WebRoot/META-INF/JAX_WS.wsdl")
    public class JAXWS_Service extends Service {
         private final static URL JAXWS_WSDL_LOCATION;
         private final static Logger logger = Logger
                   .getLogger(demo.client.JAXWS_Service.class.getName());
         static {
              URL url = null;
              try {
                   //URL baseUrl;
                   //baseUrl = demo.client.JAXWS_Service.class.getResource(".");
                   url = new URL("http://localhost:4444/JAX_WSDemo/JAXWSBean");
              } catch (MalformedURLException e) {
                   logger
                             .warning("Failed to create URL for the wsdl Location: 'file:/E:/zwz/EclipseWorkspace/JAX_WSDemo/WebRoot/META-INF/JAX_WS.wsdl', retrying as a local file");
                   logger.warning(e.getMessage());
              JAXWS_WSDL_LOCATION = url;
         public JAXWS_Service(URL wsdlLocation, QName serviceName) {
              super(wsdlLocation, serviceName);
         public JAXWS_Service() {
              super(JAXWS_WSDL_LOCATION, new QName("http://www.example.org/JAX_WS/","JAXWSBeanService"));  //JAX_WS
         @WebEndpoint(name = "JAX_WSPort")
         public JAXWS getJAXWSSOAP() {
              return super.getPort(new QName("http://www.example.org/JAX_WS/","JAX_WSPort"), JAXWS.class);  //JAX_WSSOAP
    }But i get the exception:
    Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
    java.net.SocketException: Unexpected end of file from server
    java.net.SocketException: Unexpected end of file from serverAnd the TCPMon doesn't receive anything.
    If i use Axis2, the TCPMon will work fine.
    I cannot figure out how to configure the webservices.
    Could anyone help me? Thanks a lot.

    [http://blog.vinodsingh.com/2007/02/monitor-soap-messages.html|http://blog.vinodsingh.com/2007/02/monitor-soap-messages.html]
    Edited by: vinod.singh on 7 Apr, 2009 11:03 AM

  • Help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked  a

    help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked 

    The proper way to close Firefox is through the File menu "Exit" or the equivalent with the Firefox button.
    More detail in item '''#38 Firefox already running '''
    of
    [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)]
    Firefox already running, to properly shutdown Firefox when closing the last window use File → Exit/Quit (or Firefox button → Exit). Closing Firefox with the [X] in the upper right corner closes the window ("Ctrl+W") but that does not necessarily close Firefox if it has subtasks running. If you want to close and reopen Firefox use the "Restart" within Add-ons if you made a change requiring a restart, or install "[https://addons.mozilla.org/firefox/addon/restartless-restart/ Restartless Restart]" ("Ctrl+Alt+R") which will allow you to take Firefox down and restart without having to check the Windows Task Manager to see if Firefox first actually ended. [http://kb.mozillazine.org/Firefox_hangs Firefox hangs]

  • Help in forming SOAP message for Bpel process

    Hi,
    I have a following schema file - UnpackMessage.xsd
    <?xml version="1.0" encoding="windows-1252"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:tns="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    elementFormDefault="qualified">
    <complexType name="PackHandlerProcessRequestType">
    <sequence>
    <element name="instanceId" type="string"/>
    <element name="activityName" type="string"/>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    <element name="PackHandlerProcessRequest" type="tns:PackHandlerProcessRequestType"/>
    </schema>
    and the following wsdl file for a bpel process
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions name="PackManagerWSDL"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:client="http://xmlns.oracle.com/PackManager"
    xmlns:tns="http://xmlns.oracle.com/PackManager"
    xmlns:ns2="urn:UnpackHandler"
    xmlns:ns3="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <types>
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/PackManager"
    xmlns="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://www.w3.org/2001/XMLSchema/UnpackMessage" schemaLocation="UnpackMessage.xsd"/>
    <element name="PackManagerProcessResponse">
    <complexType>
    <sequence>
    <element name="result" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="PackManagerRequestMessage">
    <part name="payload" type="ns3:PackHandlerProcessRequestType"/>
    </message>
    <message name="PackManagerResponseMessage">
    <part name="payload" element="client:PackManagerProcessResponse"/>
    </message>
    <portType name="PackManager">
    <operation name="initiate">
    <input message="client:PackManagerRequestMessage"/>
    </operation>
    </portType>
    <portType name="PackManagerCallback">
    <operation name="onResult">
    <input message="client:PackManagerResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="PackManager">
    <plnk:role name="PackManagerProvider">
    <plnk:portType name="client:PackManager"/>
    </plnk:role>
    <plnk:role name="PackManagerRequester">
    <plnk:portType name="client:PackManagerCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    The receive activity in bpel process expects input message "PackManagerRequestMessage" of type "PackHandlerProcessRequestType"
    Now on invoking the Bpel process directly by using the console ... the default input to the process looks like this -
    <payload xmlns="" xmlns:def="http://www.w3.org/2001/XMLSchema/UnpackMessage"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:type="def:PackHandlerProcessRequestType">
    <instanceId xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">600</instanceId>
    <activityName xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">receive</activityName>
    <result xmlns="http://www.w3.org/2001/XMLSchema/UnpackMessage">ok</result>
    </payload>
    and the receive activity gets the following as input (as taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
         <part name="payload" >
              <payload xsi:type="def:PackHandlerProcessRequestType" >
                   <instanceId>800</instanceId>
                   <activityName>receive</activityName>
                   <result/>
              </payload>
         </part>
    </ReceiveInput_initiate_InputVariable>
    But when i invoke the same process using a SOAP message which looks like
    <?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" xmlns:ns2="http://www.w3.org/2001/XMLSchema/UnpackMessage" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP:Body>
    <payload xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="def:PackHandlerProcessRequestType">
    <ns2:instanceId>600</ns2:instanceId>
    <ns2:activityName>receive</ns2:activityName>
    <ns2:result>OK</ns2:result>
    </payload>
    </SOAP:Body>
    </SOAP:Envelope>
    the receive activity now gets the following as input (taken from Flow in bpel console)
    <ReceiveInput_initiate_InputVariable>
    <part name="payload">
    <ns1:instanceId>600</ns1:instanceId>
    </part>
    </ReceiveInput_initiate_InputVariable>
    So i am losing input data. Can someone help me form appropriate SOAP message for this ?
    Thanks,
    Srini

    Thanks Marc,
    The SoapUI is really useful. The SOAP request as generated by the SoapUI for above case is
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:add="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:pack="http://xmlns.oracle.com/PackManager" xmlns:unp="http://www.w3.org/2001/XMLSchema/UnpackMessage">
    <soapenv:Body>
    <pack:initiate>
    <payload>
    <unp:instanceId>800</unp:instanceId>
    <unp:activityName>receive</unp:activityName>
    <unp:result/>
    </payload>
    </pack:initiate>
    </soapenv:Body>
    </soapenv:Envelope>
    and the input received at BPEL was as expected.
    Thanks a lot.
    Srini.

  • Help needed on Creating SOAP message

    hi all
    i am trying to use the saaj from JWDP1.4 to manually create a soap message and send it to a .net webservice. when i run it, i keep getting error complaining the http header :
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html.here is the code, notice the part i use the message to add header information, but it didn't get added for some reason. any help would be much appreciated.
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPElement;
    import java.io.FileInputStream;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import java.net.URL;
    public class JWTest {
       public static void main(String args[]) {
          try {
             //First create the connection
             SOAPConnectionFactory soapConnFactory =
                                SOAPConnectionFactory.newInstance();
             SOAPConnection connection =
                                 soapConnFactory.createConnection();
             //Next, create the actual message
             MessageFactory messageFactory = MessageFactory.newInstance();
             SOAPMessage message = messageFactory.createMessage();
              //  Add the HTTP headers.
              message.getMimeHeaders().addHeader("User-Agent", "Mozilla/4.0 [en] (WinNT; I)");
              message.getMimeHeaders().addHeader("Host", "m25385");
              message.getMimeHeaders().addHeader("Content-type", "text/xml");
              message.getMimeHeaders().addHeader("SOAPAction", "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability/GetAvailability");
              message.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, "utf-8");
             //Create objects for the message parts           
             SOAPPart soapPart =     message.getSOAPPart();
             SOAPEnvelope envelope = soapPart.getEnvelope();
              envelope.addNamespaceDeclaration("xsd", "http://www.w3.org/2001/XMLSchema");
              envelope.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
             SOAPBody body =         message.getSOAPBody();
            //Populate the body
            //Create the main element and namespace
            SOAPElement bodyElement =
                      body.addChildElement(envelope.createName("GetAvailability" ,
                                              "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability"));
            //Add content
            bodyElement.addChildElement("postalCode").addTextNode("T6J2S4");
              bodyElement.addChildElement("phoneNumber").addTextNode("7057211380");
              bodyElement.addChildElement("callingSystem").addTextNode("MyTelus");
            //Save the message
            //message.saveChanges();
            //Check the input
            System.out.println("\nREQUEST:\n");
            message.writeTo(System.out);
            System.out.println();
            //Send the message and get a reply  
            /*Set the destination
            String destination =
                "http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx";
              URL endpoint = new URL("http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx");
            //Send the message
            SOAPMessage reply = connection.call(message, endpoint);
            //Check the output
            System.out.println("\nRESPONSE:\n");
            //Create the transformer
            TransformerFactory transformerFactory =
                               TransformerFactory.newInstance();
            Transformer transformer =
                            transformerFactory.newTransformer();
            //Extract the content of the reply
            Source sourceContent = reply.getSOAPPart().getContent();
            //Set the output for the transformation
            StreamResult result = new StreamResult(System.out);
            transformer.transform(sourceContent, result);
            System.out.println();
             //Close the connection           
             connection.close();
            } catch(Exception e) {
                System.out.println(e.getMessage());
    }

    Can this be done in actionPerformed method If you want the user to have to hit enter after every character they type, yes. Most auto-complete implementations don't, and they'll hate you for it.
    Can anyone be more specific What is your specific problem? have you already implemented your combo-box model that will prune the available selections, or not? If not, start there.
    Also if is enter S in textfield wont the focus in the
    Dropdown be on the first choice starting with S ?Not if the combo is editable and the drop down is not showing.
    is it possible with JComboBox or someother Swing componentYes. Follow the steps in the previous post.
    Pete

  • HT1414 forgot iphone 4 passcode  and I cant restore when connected to my computer. I get a message that says cant restore until I turn off find my iphone for the device, but I did go into icloud and erased the device. help plz!

    I forgot iphone 4 passcode  and I cant restore when connected to my computer. I get a message that says cant restore until I turn off find my iphone for the device, but I did go into icloud and erased the device. help plz!

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • Help with a SOAP message

    Wondering if it's possible to send a byte array in a SOAP message?
    This is what I originally have, but now I need to send an additional variable that's a byte array.
    //create connection
          SOAPConnectionFactory soapConnFact = SOAPConnectionFactory.newInstance();
          SOAPConnection connection = soapConnFact.createConnection();
          //create message
          MessageFactory msgFact = MessageFactory.newInstance();
          SOAPMessage msg = msgFact.createMessage();
          //add SOAP action to header
          MimeHeaders headers = msg.getMimeHeaders();
          headers.addHeader("SOAPAction", "url");
          //create objects for message parts
          SOAPPart soapPart = msg.getSOAPPart();
          SOAPEnvelope envelope = soapPart.getEnvelope();
          SOAPBody body = envelope.getBody();
          //populate body and create main element and namespace
          SOAPElement bodyElement = body.addChildElement(envelope.createName("Name", "Name", "http://tempuri.org/"));
          //add content
          bodyElement.addChildElement("username").addTextNode(_user);
          bodyElement.addChildElement("password").addTextNode(_password);
          bodyElement.addChildElement("xmlStr").addTextNode(_xml);
          //save message
          msg.saveChanges();

    The whole point of the Base64 encoding was so that you would have a string. So your question about whether you can now send a byte array indicates a serious degree of incomprehension. Could you please review the entire thread before posting again?
    And yes, XML is a text format. You are using XML are you not? Therefore you need text data.

  • How to view the SOAP message in a web service call + Urgent

    Hi All,
    Iam trying to test a web service call(Iam using CXF). But I need to view SOAP message sent to web service or need to debug the web service call. Please help me on this regard with example.

    Yes. to find any tcp monitor, define a listen port number, task host and port number, changing your request to listen post, then you can monitor TCP/IP like
    HTTP/1.1 200 OK
    Set-Cookie: JSESSIONID=7A00BD65EF7516AD8947359A25C4D98B; Path=/ComponentName
    Content-Type: text/xml;charset=utf-8
    Date: Wed, 20 Oct 2004 15:45:03 GMT
    Server: Apache-Coyote/1.1
    Connection: close
    <?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>
    <ns1:testObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:ComponentName">
    <testObjectReturn href="#id0"/>
    </ns1:testObjectResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:MyObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ComponentName">
    <name xsi:type="xsd:string">Set Name</name>
    <value xsi:type="xsd:string">set Value</value>
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>
    Lixin

  • Idoc Not received on MII Message Listener

    Hi All,
    I am trying to post Idoc from R/3 to MII Server , but some how I am not getting it
    I have configured Destination, Parter, Partner Profile on the R/3 and Message Listener on MII.
    When I am trying to send Idoc from R/3 using BD10 transaction (Idoc type MATMAS), Idoc Status as 03 in WE02 transaction , but I the MII server does not show up for this.
    Even the Failed Messages is showing no results.
    Am I missing some thing here.
    Any help is appreciated.
    Kind Regards

    I got the issue,
    The problem was Partner was wrongly selected.
    Thanks

  • Writting attached file from SOAP message to a FTP folder

    Hi everybody,
    Our scenario is an interface which receives a SOAP message with a file attached. As we don't need to do any mapping into the attachment, we are supposed to deliver that file as it is into a FTP folder.
    Our problem is that we cannot find how to configure File comm channel to write the attached file and no the SOAP XML message which is what we are getting now. Any help on this?
    Thanks in advance.

    Hi
    check these forum posts
    SOAP with attachments
    Mail Sender Adapter - Attachment Handling
    Regards
    Vishnu

  • My Apple TV is not working. On tv display, I'm getting unsupported signal. Check your device output. Can anyone help plz.

    My Apple TV is not working. On tv display, I'm getting a message 'unsupported signal. Check your device output. ' Can anyone help plz.

    connect it to a tv which support full hd and go into the settings and lower the resolution as much as possible and then connect it with your tv once more

  • How to get full SOAP message in WebService

    hi,
    Is it possible to get SOAP message while Request operation during transaction in WebService.
    I tried with Handler, while retreiving message it is having a MessageContext. How to initilize that like example
    public boolean handleRequest(MessageContext mc) {
              SOAPMessageContext messageContext = (SOAPMessageContext) mc; 
              System.out.println("** Request: "+ messageContext.getMessage().toString());
              return true;
         }while i make a class called SoapHdlr i have implemented all methods including the above.
    In that from my class if i want to call the above method i need to pass MessageContext how to give that MessageContext or any other ways to get SOAPMessage fully.
    plz can any one guide me there
    ThanKQ

    I think, there are some concepts missunderstood. First if you use JAX-WS- Metro framework, this kind of handlers will work. Also you should identify your SOAPHandler for your web service. For ex: in Netbeans 6, you can right click on service and select configure handlers. Then you decide your handler.
    Then automatically, Metro framework directs SOAPMessages to your SOAPHandler to handle full SOAPs. HandleMessage() method will work.
    If you have problem again, just ask.

  • How To : Call External Webservice from BPEL and pass SOAP Message to the WS

    Hello All-
    Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
    <strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
    <strong>2. Transform the message</strong>
    <strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
    I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
    If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
    Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
    I am new to Webservice integration using BPEL and would really appreciate your help.
    Thanks In Advance
    Regards,
    Dibya

    Hi Dharmendra,
    I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
    I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
    I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
    This is what I see in the TCP monitor, please note the double SOAP env:Body:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <env:Header>
    <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
    <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
    <wsa:Metadata>
    <device xmlns:hl7="urn:hl7-org:v3">
    </device>
    </wsa:Metadata>
    </env:Header>
    <env:Body>
    <RCMR_IN000002NR01>
    </RCMR_IN000002NR01>
    </env:Body>
    </RCMR_IN000002NR01>
    </env:Body>
    </env:Envelope>
    Any help is appreciated.
    Regards,
    Aagaard
    Edited by: Aagaard on Oct 30, 2008 8:59 PM
    Should have mentioned. I am using BPEL 10.1.3.4
    Edited by: Aagaard on Oct 31, 2008 8:43 AM
    I have opened a new thread for this question so as to not confuse the issue more than necessary.
    How many SOAP envelopes do you really need?

Maybe you are looking for