IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only

pub.mime:getEnvelopeStream error

  • 1.  pub.mime:getEnvelopeStream error

    Posted Wed April 05, 2006 09:26 AM

    Hi All,

    I am trying to create MIME message. I am getting the following Error which I run the example service
    I am getting the Error in the STEP : pub.mime:getEnvelopeStream

    The Error Message is :

    An error occurred while tracing. 
    com.wm.app.b2b.server.ServiceException: "text/plain" DataContentHandler requires String object, was given object of type class java.io.ByteArrayInputStream 
    
    In the Server error log I am getting the following Error Stack Trace: 
    
    com.wm.app.b2b.server.ServiceException: "text/plain" DataContentHandler requires String object, was given object of type class java.io.ByteArrayInputStream com.wm.app.b2b.server.ServiceException: "text/plain" DataContentHandler requires String object, was given object of type class java.io.ByteArrayInputStream 
    at pub.mime.getEnvelopeStream(mime.java:234) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code)) 
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code)) 
    at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:153) 
    at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324) 
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:577) 
    at com.wm.lang.flow.FlowState.stepIncremental(FlowState.java(Compiled Code)) 
    at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code)) 
    at wm.server.flowimpl.stepFlow(flowimpl.java:183) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code)) 
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code)) 
    at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:97) 
    at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:167) 
    at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:204) 
    at com.wm.util.pool.PooledThread.run(PooledThread.java:105) 
    at java.lang.Thread.run(Thread.java:512) 

    I am using webMethods IS & Developer Version 6.5.
    Is this a problem with this release or are there any fixed available.

    Thanks and regards,
    Renuka D


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services