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

Problem with extended classes #156

Closed
amaccis opened this issue May 3, 2018 · 5 comments
Closed

Problem with extended classes #156

amaccis opened this issue May 3, 2018 · 5 comments

Comments

@amaccis
Copy link

amaccis commented May 3, 2018

Hi.
I need to consume a soap ws with the following wsdl (this is an excerpt):

<xs:complexType name="objectResponse">
  <xs:complexContent>
    <xs:extension base="tns:serviceResponse">
      <xs:sequence>
        <xs:element maxOccurs="unbounded" minOccurs="0" name="object" nillable="true" type="tns:object"/>
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

By generating my classes, clearly, I got two classes:

  • objectResponse (that extends serviceResponse);
  • serviceResponse.

but the xml created by the clientBuilder considers only the class objectResponse, as if it does not extend serviceResponse.
What am I doing wrong?
Thanks!

@amaccis
Copy link
Author

amaccis commented May 3, 2018

Solved, it was not a soap-client issue.

@amaccis amaccis closed this as completed May 3, 2018
@smartydroid
Copy link

Solved, it was not a soap-client issue.

@amaccis Hi, I have encountered similar problems. How do you solve it? Thank you very much.

@dxvargas
Copy link

dxvargas commented Jan 16, 2019

I have similar problem and same question as @smartydroid .

@veewee
Copy link
Contributor

veewee commented Jan 16, 2019

The extension information is not coming out of ext-soap at this point.
You'll have to use the ExtendAssembler for this and configure it manually.

@veewee
Copy link
Contributor

veewee commented Oct 28, 2022

Hello,

We noticed this issue got reported many times and want to tackle it at its core!
Therefore, we've planned a project that will work on better types support.
It’s going to be a huge project, so we are looking for ways to make development possible during our business hours instead of in our developers precious spare time.

In case you want this feature as badly as us: find out how you can support this project here 💚!

@veewee veewee mentioned this issue Apr 3, 2023
18 tasks
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

4 participants