Giter Club home page Giter Club logo

Comments (4)

phax avatar phax commented on May 29, 2024

please ensure that As4HttpDebug is disabled. hth

from phase4.

AlexandruCiobanu avatar AlexandruCiobanu commented on May 29, 2024

I disabled HTTPDebug and the error dissapears only if I also set a payload. Would I need to set the payload to something specific?
Also when I send the message with attachment I get the following response from testbed:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang="en">Fault occurred while processing.</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>

Maybe I am setting teh attachment wrong?
Here is how I do it:
aClient.addAttachment(WSS4JAttachment.createOutgoingFileAttachment(SBDHWriter.standardBusinessDocument().getAsBytes(aSBD), messageId, CMimeType.APPLICATION_XML, null, aClient.getResourceMgr()));

from phase4.

phax avatar phax commented on May 29, 2024

No specific payload is needed. I am on vacation and dont have the code in front of me.
pls be patient or try to figure it out yourself :)

from phase4.

phax avatar phax commented on May 29, 2024

I improved the repetition handling of attachments in the 0.9.0 codebase and that should not happen again. Thanks for pointing that out.

from phase4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.