Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input message with multi parts #1406

Open
zmichal-anasoft opened this issue Jan 24, 2024 · 0 comments
Open

Input message with multi parts #1406

zmichal-anasoft opened this issue Jan 24, 2024 · 0 comments

Comments

@zmichal-anasoft
Copy link

Hi,

I'm having troubles to send request with this kind of input message:

<message name="CallInput">
	<part name="message" element="tns:Message"/>
	<part name="header" element="tns:MessageID"/>
</message>

With type definition:

  <xsd:element name="Message" type="xsd:string"/>
  <xsd:element name="MessageID" type="xsd:long"/>

Calling the service:

 response = client.service.Call(message)

Where the message is type of string. How to append the second part the MessageID of type long?
I'm always getting the "IllegalArgumentException" from the server side.
Thanks,

mz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant