Java.io.IOException: No serializer found for class..............

Hi All,
I am tring to send an object to a webservice. But when I run the code it throughs an Exception:
- Exception:
java.io.IOException: No serializer found for class com.tourico.webservices.impl.BookHotelTypeImpl$HlTypeImpl in registry org.apache.axis.encoding.TypeMappingDelegate@14b6b02
     at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1429)
     at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:914)
     at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:677)
     at org.apache.axis.message.MessageElement.outputImpl(MessageElement.java:1247)
     at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
     at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:265)
     at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1426)
     at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:914)
     at org.apache.axis.message.RPCParam.serialize(RPCParam.java:200)
     at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
     at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
     at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
     at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:477)
     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.SOAPPart.saveChanges(SOAPPart.java:530)
     at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:519)
     at org.apache.axis.Message.getContentType(Message.java:475)
     at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
     at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
     at org.apache.axis.client.Call.invoke(Call.java:2748)
     at org.apache.axis.client.Call.invoke(Call.java:2424)
     at org.apache.axis.client.Call.invoke(Call.java:2347)
     at org.apache.axis.client.Call.invoke(Call.java:1804)
     at com.tourico.webservices.HotelsServiceSoapStub.bookHotel(HotelsServiceSoapStub.java:488)
     at TestClient.main(TestClient.java:892)
Any help will be appreciated
Thanks
Sandeep

Hi,
Is this class com.tourico.webservices.impl.BookHotelTypeImpl$HlTypeImpl implements java.io.Serializable ?
--Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                               

Similar Messages

  • 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

  • Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service. Can anyone please
    help me.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 404 Not Found

    In my 2006 biztalk application I have exposed web service to receive SAP input. It was working fine. After I have modified something in orchestration in that application . I am getting following error while SAP try to consume my web service.
    HI Arivazhagan K,
    Could you give some explanation about what you modified? according the to error message, this is "resource is not found issue".
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java.io.IOException: Resource not found: org/joda/time/tz/data/ZoneInfoMap

    I've been attempting to develop test classes using the PowerMock and Mockito mock frameworks
    I've developed the tests in Eclipse in windows XP (64 bit) and the tests run to completion with passes
    One of the classes being tested references the joda-time-1.4.jar and this jar contains the resource org/joda/time/tz/data/ZoneInfoMap
    I then attempted to migrate the development to running the unit tests in a Windows XP command prompt launched by Maven 2 (mvn)
    I get test errors, but the nature of the error depends where I set my JAVA_HOME
    a) if I set my JAVA_HOME to a standard Sun JDK (C:\Program Files (x86)\Java\jdk1.5.0_21), then I get the resource not found error for one test only - here is an extract from the exception:
    Running com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest
    Exception in thread "main" java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: org.powermock.core.classloader.MockClassLoader@3ab28980
    at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:206)
    at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:123)
    at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:82)
    at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:435)
    at org.joda.time.DateTimeZone.setProvider0(DateTimeZone.java:389)
    at org.joda.time.DateTimeZone.<clinit>(DateTimeZone.java:113)
    at org.joda.time.chrono.GregorianChronology.<clinit>(GregorianChronology.java:71)
    at org.joda.time.chrono.ISOChronology.<clinit>(ISOChronology.java:66)
    at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
    at org.joda.time.DateTime.<init>(DateTime.java:114)
    at com.visaeu.rcs.cts.datetime.RCSDateTime.<init>(RCSDateTime.java:178)
    at com.visaeu.rcs.cts.datetime.RCSDateTime.<clinit>(RCSDateTime.java:53)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8Helper.setTcr8ValuesInTransaction(RCSInternalTCR8Helper.java:230)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8Helper.bindTcr8(RCSInternalTCR8Helper.java:164)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest.testBindSampleData(RCSInternalTCR8HelperTest.java:423)
    b) if I set my JAVA_HOME to an IBM JDK (C:\Program Files (x86)\IBM\SDP70\jdk), then I get NoClassDefFoundError for any test that attempts to create a mock - here is an extract from the exception:
    testBindSampleData(com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest) Time elapsed: 0 sec <<< ERROR!
    java.lang.NoClassDefFoundError: com.visaeu.rcs.cts.codepagetranslation.RCSCodepageTranslationService$$EnhancerByMockitoWithCGLIB$$c7baa0a
         at sun.reflect.GeneratedSerializationConstructorAccessor12.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
         at org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.newInstance(SunReflectionFactoryInstantiator.java:40)
         at org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:59)
         at org.mockito.internal.creation.jmock.ClassImposterizer.createProxy(ClassImposterizer.java:120)
         at org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:60)
         at org.powermock.api.mockito.internal.mockcreation.MockCreator.createMethodInvocationControl(MockCreator.java:79)
         at org.powermock.api.mockito.internal.mockcreation.MockCreator.mock(MockCreator.java:53)
         at org.powermock.api.mockito.PowerMockito.mockStatic(PowerMockito.java:67)
         at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest.testBindSampleData(RCSInternalTCR8HelperTest.java:391)
    Finally, running the tests on a unix host under the AIX OS launched with Maven 2 (mvn), I get the Resource not found: "org/joda/time/tz/data/ZoneInfoMap" error
    None of these errors occur when running the tests in Eclipse, so there must be a different environment
    I've not been able to track it down, so if anyone can throw any light or offer a solution, that would be much appreciated
    Thanks for reading and any help

    Reposting with modified query under Core APIs - Reflections & Reference Objects
    I think this may be a more relevant forum

  • IOException: Resource not found - custom class loader needs findResource

    I've been attempting to develop test classes using the PowerMock and Mockito mock frameworks
    I've developed the tests in Eclipse in windows XP (64 bit) and the tests run to completion with passes
    One of the classes being tested references the joda-time-1.4.jar and this jar contains the resource org/joda/time/tz/data/ZoneInfoMap
    I then attempted to migrate the development to running the unit tests in a Windows XP command prompt launched by Maven 2 (mvn)
    With JAVA_HOME set to to a standard Sun JDK (C:\Program Files (x86)\Java\jdk1.5.0_21), I get the resource not found error for one test only - here is an extract from the exception:
    Running com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest
    Exception in thread "main" java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: org.powermock.core.classloader.MockClassLoader@3ab28980
    at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:206)
    at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:123)
    at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:82)
    at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:435)
    at org.joda.time.DateTimeZone.setProvider0(DateTimeZone.java:389)
    at org.joda.time.DateTimeZone.<clinit>(DateTimeZone.java:113)
    at org.joda.time.chrono.GregorianChronology.<clinit>(GregorianChronology.java:71)
    at org.joda.time.chrono.ISOChronology.<clinit>(ISOChronology.java:66)
    at org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
    at org.joda.time.DateTime.<init>(DateTime.java:114)
    at com.visaeu.rcs.cts.datetime.RCSDateTime.<init>(RCSDateTime.java:178)
    at com.visaeu.rcs.cts.datetime.RCSDateTime.<clinit>(RCSDateTime.java:53)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8Helper.setTcr8ValuesInTransaction(RCSInternalTCR8Helper.java:230)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8Helper.bindTcr8(RCSInternalTCR8Helper.java:164)
    at com.visaeu.rcs.application.cas.parser.RCSInternalTCR8HelperTest.testBindSampleData(RCSInternalTCR8HelperTest.java:423)
    Running the tests on a unix host under the AIX OS launched with Maven 2 (mvn), I also get the
    Resource not found: "org/joda/time/tz/data/ZoneInfoMap" error
    Just to emphaises, I don't get any error when running the test in Eclipse
    Looking at the discussions page for PowerMock, it seems likely that this may be due to MockClassLoader (which effectively extends ClassLoader) not implementing findResource - see:
    http://groups.google.com/group/powermock/browse_thread/thread/0bba0faa3027026f
    I have contacted the PowerMock developers, but they are very busy and do not have time to look at the problem yet
    However, they have indicated that it would be helpful if I could create a patch for the problem and submit it
    - see the above reference and:
    http://groups.google.com/group/powermock/browse_thread/thread/3002fddca62f7ef5
    I don't have any background of classloaders, and although I've done lots of 'Googling', I've not found anything that I can use
    So my question here is:
    Can anyone
    a) provide a reference that will help me understand what I need in findResource
    OR
    b) provide a sample findResource that I could try in the code
    Thanks for reading and any help

    The JDK comes with most of the Java API source code in a file called src.zip (or something like that.) There should be examples in there.
    You can also download the entire VM source, there might be a couple more in there.
    FYI - do NOT copy the code you find in there. You can reference it but you must create your code from scratch.

  • SOAP: error occured: java.io.IOException: invalid content type for SOAP: TE

    Hi,
    We are implementing an XI scenario as follows: Mail Adapter->XI->SOAP Receiver.
    Basically, we pass the XML File attachment from the Mail Adapter through XI to the SOAP Adapter. However, we keep getting the following error:
    <i>SOAP: error occured: java.io.IOException: invalid content type for SOAP: TEXT/HTML</i>
    Any ideas on where we could look to fix this problem?
    Thanks,
    EC

    People,
    most of errors like that are 401 (unauthorized), 403 (forbidden), 404 (not found) and so on. To be sure, check the message content that comes back from the webservice, in the Message Monitoring.
    Obs: To visualize sync messages payload in Message Monitoring, you'll have to set the Messaging.syncMessageRemover.removebody parameter to <i>false</i> (default is <i>true</i>) in SAP XI AF Messaging service, in the Visual Administrator.
    Regards,
    Henrique.

  • Java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 200 OK

    hi all,
    please help me to resolve the error. i am working on a proxy to soap scenario and in SXMB_moni i am getting the following error.
    i had check my url,its working fine.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 200 OK</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>*
    thanks
    kasturika

    Check this thread
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML
    might give you some directions to look at.
    Sameer

  • Reason Of Error java.io.IOException: invalid content type for SOAP: TEXT/HT

    Hi All,
    I am getting an error, when I am sending message from few BPM's to a common Webservice Synchronously.
    Delivery of the message to the application using connection AFW failed, due to: java.io.IOException: invalid content type for SOAP: TEXT/HTML. Setting message to status failed.
    Previously, it was working fine. But today I am getting the errors. Could any one please explain, what exactly the reason is. I searched the Forum, but didnt find a proper resolution. We are sending the same set of data to the Webservice, which we were sending before. Please suggest.
    Regards,
    Subhendu

    Hi Vijay,
    I am wondering,Without this module, how it was working fine for so many days. Could you please throw light?
    Regards,
    Subhendu

  • EROR: java.io.IOException: invalid content type for SOAP: TEXT/HTML

    hi group,
    my problem is related to scenario HTML to WebService in which im trying to send a request to a free webservice on internet and retrieving the response back and showing it in my html page.
    scenario in detail:
    i have a html page deployed on my tomcat server at my local m/c. in which im taking a email string and sending it to webservice which checks whether the email string has a valid email format or not and in response, webservice returns a boolean true/false depending on the email string. i want to show this boolean result n my html page.i have configured HTTP adaptor and SOAP adaptor for this and interfaces are scynchronus.
    im able to send my request to webservice and getting the response also...i checked in trace..it shows message request sent and response recieved...here is the trace..
    http://hcl3sap:50000/MessagingSystem/receive/AFW/XI</Trace>
      <Trace level="3" type="T">User = PIISUSER</Trace>
      <Trace level="3" type="T">Cached =</Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Security: Basic authentication</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 200</Trace>
      <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      </Trace>
    but i get an error java.io.IOException: invalid content type for SOAP: TEXT/HTML after that,
    Does anyone know where im going wrong....
    regrds

    you are very correct..i used SOAP reciever as http://www.webservicex.net/ValidateEmail.asmx?wsdl and SOAP Action as http://www.webservicex.net/IsValidEmail but getting the same error.
    and if you look in the trace above it says that my request actually went to webservice and got a response also (response code 200)  but i think after recieving the message from webservice something is wrong. either mapping is not correct...(but i tested that ..it works fine) or could be my company firewall is prohibiting the message sent by webservice to XI server (i have given proxy settings with password also)...im NOT sure on this ....
    second thing i noticed in moni while examining the trace was....message payload under "Message Branch According to Receiver List " shows this value
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net">
      <ns1:Email>samWhgf.com</ns1:Email>
      </ns1:IsValidEmail>
    and then in just next step "Request Message Mapping" payload is 
    <?xml version="1.0" encoding="UTF-8" ?>
    <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net" />
    i dont know really why payload is getting appended and if it is correct or not? but after this step further payload goes in this appended format only till call adaptor...if this is so i assume my message is going to webservice as
      <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:IsValidEmail xmlns:ns1="http://www.webservicex.net" /> 
    which is not the proper format to be recieved by the webservice without any input value i.e "samWhgf.com"
    im confused on this ..whether this is the route cause or any other...i have been trying to figure out the root cause from some days but still unsuccessful.
    please provide ur valuable inputs.
    regrds
    Sameer

  • Error(400,8): method include(java.lang.String, boolean) not found in class

    I have uploaded my Application which was running fine in other IDE to jdev 10.1.3, when i compile the follwing error error in jsp page.
    Error(400,8): method include(java.lang.String, boolean) not found in class javax.servlet.jsp.PageContext
    My jsp code where error is shown is
    <jsp:include page="querySections/generation.jsp" flush="true">
                                            <jsp:param name="TSN" value="<%=strParamValue[1]%>"/>
                                            <jsp:param name="SectionID" value="<%=String.valueOf(lngSectionID)%>"/>
                                       </jsp:include>
    pl help me in solving this its urgent...
    Thanks & Regards
    Lakshmi

    Hi,
    code snippet looks okay and is identical with what JDeveloper generates.
    Frank

  • XML Form Error: java.lang.RuntimeException: No system found for alias

    Hello,
    We are currently having an issue with our XML forms.  When we try to access our XML forms we receive the following error:
    java.lang.RuntimeException: No system found for alias SAP_R3_QWA
    Is there a place within the forms to set the system alias?

    Hi Jereme,
    Have you installed the DMS Connector for KM?
    I can imagine that this issue is related to an incorrect version of the DMS Connector for KM (regardless of whether you are using the DSMRM or not).
    In that case you can do the following to correct the issue:
    1) Undeploy your current version of 'DMS Connector for KM'
    2) Download the latest version of 'DMS Connector for KM' from Service Marketplace and deploy it to your portal
    3) Restart J2EE engine after deployment                                                                               
    Hope this helps,
    Robert

  • Acme GiFEncoder: java.io.IOException: too many colors for a GIF

    I have been using the Acme GifEncoder to save images as gifs. I have been using this quite successfully until today. For some reason it now gives an error when I try to use this in some circumstances. The exception is:
    java.io.IOException: too many colors for a GIF
    I am not sure why it will work in some situations and not others. If anyone can give any insight on this problem then I would appreciate it.
    Thanks

    Thanks for the reference to the quantizer. I will try it out and see if it works.
    That is going to lead me on to have a bit of a rant about GifEncoders. I realise that gifs are limited to 256 colours. It is ridiculous that a GifEncoder would not limit the number of colours for you. If you have an image in another format such as jpg that does not have a limit the number of colours, the encoder is not able to convert it into gifs unless it has the number of colours reduced. As far as can tell this should be an essential function of the encoder, unless anyone can tell me differently.
    Also if anyone can advise me on the Acme JpegEncoder I would appreciate it. It does not seem to work in any shape or form. I am not trying to do anything in particular with it now, so I have no code to show. I did try to use it before and it did not seem to work, so if anyone knows how to get it to work that would be great.
    Once again, thanks for your help.

  • Class not found for class generated by autotype when deploy

    I'm getting a ClassNotFoundException when I attempt to deploy a webservice that was originally generated from an XSD.
    1) I create the stubs using "autotype" and the schemaFile attribute. Class files are generated and placed in the location specified by destDir.
    2) I then run source2wsdd to generate the web-services.xml and WSDL files. source2wsdd specified the "javaSource" attribute and points to the java file the WebService is to call.
    I also take all the generated JAVA classes and put it into a JAR file for step 3.
    3) I run wspackage to create the EAR file. For "webAppClasses" I specify the class files that goes with the "javaSource" specified in step 2. I also take the JAR file created in step 2 (which contains all the code generated by step 1) and use "utilJars" to put in the the /lib directory of the war file.
    4) When I deploy, I get a "class not found" for one of the classes that is in the utility jar file I created in step 2. I have verified that the jar file is in the "web-inf/lib" directory.
    What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to not find the class?
    Thanks in advance...
    Wayne

    Bruce: Got it working. (Bad news is I'm not sure what I did to fix it. :-( )
    My service now deploys, but I'm having problems doing a "source2wsdd" from inside
    Eclipse. Found another customer in this group with the same issue, and added my
    info to his message.
    For now I have to run the build outside Eclipse, but at least my service is deployable.
    Thanks for taking the time to reply to my message!
    Wayne
    Bruce Stephens <[email protected]> wrote:
    I think attachments are working again, so you might post a short example
    and we can take a look...
    Bruce Stephens wrote:
    Hi Wayne,
    Could it be something simple like not being capital "WEB-INF"
    ...probably not, but who knows. Also, in step 1, is your destDir going
    to WEB-INF/classes ?? Might review the working example Manoj generated
    [1].
    HTH,
    Bruce
    [1]
    http://www.manojc.com/?sample43
    Wayne Holmes wrote:
    I'm getting a ClassNotFoundException when I attempt to deploy a webservice
    that was originally generated from an XSD.
    1) I create the stubs using "autotype" and the schemaFile attribute.Class files are generated and placed in the location specified by destDir.
    2) I then run source2wsdd to generate the web-services.xml and WSDLfiles. source2wsdd specified the "javaSource" attribute and points to
    the java file the WebService is to call.
    I also take all the generated JAVA classes and put it into a JARfile for step 3.
    3) I run wspackage to create the EAR file. For "webAppClasses" Ispecify the class files that goes with the "javaSource" specified in
    step 2. I also take the JAR file created in step 2 (which contains all
    the code generated by step 1) and use "utilJars" to put in the the /lib
    directory of the war file.
    4) When I deploy, I get a "class not found" for one of the classesthat is in the utility jar file I created in step 2. I have verified
    that the jar file is in the "web-inf/lib" directory.
    What am I not seeing that is causing WebLogic (WLS 8.0 SP2) to notfind the class?
    Thanks in advance...
    Wayne

  • OC4J: Class not found for class in jar file placed in \j2ee\home\applib\

    I have an ADF application which uses external libraries (jars), which works fine when running the application from within JDeveloper (TP4).
    However if I deploy the application to the embedded OC4J server it won't find any classes imported in those external libraries at runtime (deploy does work). E.g. one library class imports oracle.jbo.server.DBTransaction. If a method of this class is called I get the following exception:
    Unexpected exception caught: java.lang.NoClassDefFoundError, msg=oracle/classloader/util/AnnotatedNoClassDefFoundError
    oracle/classloader/util/AnnotatedNoClassDefFoundErrorThe same exception, when using a german locale, explicitely states that it cannot find oracle.jbo.server.DBTransaction.
    The jar files are placed in the \j2ee\home\applib\ directory and a <library> element to this path is present in application.xml.
    Any further hints what could be wrong?

    Hi Edwin,
    tried your suggestions but without success.
    when I add this library to server.xml then following error occures when starting OC4J
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog log
    SCHWERWIEGEND: Server start failed processing configuration
    java.lang.InstantiationException: Illegal tag, 'library': The library tag has moved from config/server.xml to config/application.xml, please update your configuration manually or reinstall.
            at com.evermind.server.XMLApplicationServerConfig.parseDeploymentMainNode(XMLApplicationServerConfig.java:1227)
            at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:342)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:222)
            at com.evermind.xml.XMLConfig.init(XMLConfig.java:154)
            at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:237)
            at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:661)
            at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:225)
            at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:244)
            at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:259)
            at java.lang.Thread.run(Thread.java:619)
    17.09.2008 17:10:33 oracle.oc4j.util.SystemLog logNoStack
    SCHWERWIEGEND: Server exiting: ApplicationServer entered state EXITING--> I added this to application.xml
    Than I enabled more logging of classloader "-Duser.country=US -Dclass.load.log.level=finest"
    Here a snippet of the output at starttime of OC4J:
    ================================
    08/09/18 10:17:07 Initial class loaders created. Uptime: 3156ms.
    08/09/18 10:17:07 Loading main class com.evermind.server.OC4JServer...
    08/09/18 10:17:07 com.evermind.server.OC4JServerMain class loaded. Uptime: 3344ms.
    08/09/18 10:17:07 Transferring to com.evermind.server.OC4JServer.main()...
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Ignoring <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml entry: code-source /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/lib/api-ext/adflogginghandler.jar (from system property api.ext.dirs) is already visible in the search path of adf.oracle.domain:11.1.4949.
    08/09/18 10:17:15 Ignoring non-existent code source: D:\oracle\jdevstudio1111_preview4_standalone\j2ee\home\config\..\..\..\BC4J\lib\jmxdc.jar(from <code-source> (ignore manifest Class-Path) in /D:/oracle/jdevstudio1111_preview4_standalone/j2ee/home/config/server.xml)
    08/09/18 10:17:15 Import was not resolved for adf.oracle.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.
    08/09/18 10:17:15 Import was not resolved for adf.generic.domain:11.1.4949: shared library "oracle.fabric.runtime" could not be found.Seems that oracle.fabric.runtime couldn't be found but the jar's are located in D:\oracle\jdevstudio1111_preview4_standalone\lib\java\shared\oracle.fabric.runtime\11.1.1.0.0
    It's the same as with my jdeveloper installation where I don't have this problems.
    regards
    Peter

  • Java Core Program :: Dynamic Object Creation for Classe & Invoking the same

    Hi,
    I need to create a dynamic object for a class & invoke it.
    For eg: I have a table in my DB where all the names of my java classes are stored. I need to call name from the table of the DB and call that class dynamically in my java program.
    ResultSet_01 = executeQuery("select classname from class_table where class_descrip = 'Sales Invoice' ");
                   while(ResultSet_01.next())
                        String class_name = ResultSet_01.getDouble("classname");
                   }Now using the string in class_name that is fetched from ResultSet_01, I need to create an object for the class_name & invoke the class that is been created with the same name.
    Thank in advance.
    Regards,
    Haider Imani

    Well for a start since a class name is a String, not a number you'd better start by getting the name with getString() not getDouble().
    You need to work with fully qualified names, (FQNs) like "com.acme.myproject.MyDynamicClass", not just the bare MyDynamicClass.
    The next question is where the .class files for the dynamically loaded classes are stored. If they are part of your normal program code, on the class path, then you can use Class.forName to load the class and return a Class object. If they are in some special place you'll need to create a URLClassLoader and get the Class from that.
    Generally, when you load a class this way, it should implement some known interface, or extend some know abstract class. By placing objects of the dynamic class in a reference to that interface you can use the methods defined in the interface.
    The usual way of getting an instance of a dynamic class is to call newInstance() on the Class object.

Maybe you are looking for

  • Looking for a word processor app

    I am looking for a word processing app that I can use for sending .doc and .docx format papers via email or uploading them to websites directly from my ipad 2 without having to export them to or sync them with my actual computer.  Does the Pages app

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts, I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code. Then there is some functional configuration such that, material documents and TR and TO are getting created. Now I need to get TO and TR numbers from LTAK table passi

  • Textkommentare verschwinden auf dem PDF-file in Adobe Reader

    Meine Textkommentare, die ich  mit dem "Textkommentar hinzufügen"-Werkzeug auf ein PDF-Dokument schreibe, verschwinden, nachdem ich sie eingegeben habe. Im Moment des Schreibens sehe ich sie zwar noch (Bild 1); sobald ich aber mit dem Cursor woanders

  • SFTP support in Flash Builder?

    Hi all, I wanted to ask whether there is SFTP support somewhere in the Flash Builder / Flex Builder or whether I can somehow add this (plugin?). I searched the internet and I didn't come up with much about it. (I just downloaded and installed Flash B

  • How settle to Capital work in process

    hi sap kings......... what are the steps require to setlement of AUC. explain to me detailed prcess.