Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 283889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:24:42+00:00 2026-05-12T05:24:42+00:00

So i have a wsdl that defines a message part like the following <wsdl:message

  • 0

So i have a wsdl that defines a message part like the following

<wsdl:message name="processEnvelopeResponse">
    <wsdl:part name="processEnvelopeReturn" type="xsd:base64Binary"/>
</wsdl:message>

This maps to a xsd, wich then imports other xsds and so on.

I have the following questions:

  1. How can i generate the Message part objects from the xsd

Ignore this one, i have found the
answer, you can do this as long as you
import the xsd into the wsdl file.
Will explain better later on

  1. How can i generate the client side objects in a way that allows me to directly fill the message objects and pass it over the wire
  2. How do i call the webservice, transforming the generated objects in to base64Binary (this one assumes the above is not possible)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:24:42+00:00Added an answer on May 12, 2026 at 5:24 am

    So answering my own question, i was able to generate the artifacts to call the webservice from the list of xsd’s, but i was unable to use them when calling the webservice.

    So i ended up having to generate the XML by hand, lucky was i that this was a small call.

    String input="XML";
    byte[] s = port.processEnvelope(input.getBytes());
    

    And since the response came in xsd:base64Binary too i had to map the incoming string into xml objects in order to process the response.

    String xmloutput = new String(s,"UTF-8");
    

    I then put xmloutput through jdom i got my data.

    all in all a stupid way to implement a webservice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WSDL that defines a field that is type xsd:id . I
Lets say I have WSDL that defines an operation that accepts a complex type,
I have the same problem that is listed in the following thread. WSDL first
I have a wsdl that defines a soap header that needs to be passed
I have a service contract that defines a method with a parameter of type
I have a WSDL file defining a service that I have to implement in
I have to consume a WCF WebServices but the WSDL contains bindings that PHP
I have an ASP.NET WebService that supports standard WSDL based SOAP calls and a
I have a bunch of generated SOAP client stubs that differ between WSDL versions.
I have and android client, that uses ksoap to communicate with a wsdl web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.