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

Custom simpleType definition #56

Closed
Liteo opened this issue Aug 20, 2012 · 2 comments
Closed

Custom simpleType definition #56

Liteo opened this issue Aug 20, 2012 · 2 comments

Comments

@Liteo
Copy link

Liteo commented Aug 20, 2012

I went/played through the code and read other issue or request messages.

I think what I'm going to ask will not make a lot of practical sense ; I'm more asking where do you think I should start to implement such a thing with wash_out.

I need to implement quite a large WSDL with a lot of custom simpleType definitions like these :

.
.
   <xs:simpleType name="codeIncidentType">
      <xs:restriction base="xs:string">
         <xs:pattern value="[0-9]{2}"/>
     </xs:restriction>
   </xs:simpleType>

   <xs:simpleType name="groupeDestinataireSecondaireType">
      <xs:restriction base="xs:string">
         <xs:pattern value="[0-9]{3}"/>
      </xs:restriction>
   </xs:simpleType>
.
.

Those are then used in complexType definitions.

Where do you I should start to hack wash_out to define these new simpleType ?
I need my WSDL to output these and to be able to use them in my complexType without Wash_out throwing an exception.

I started hacking here and there but I'm really not sure I'm taking the simplest or quickest road to achieve my goal.

I would greatly welcome any feedback from you :)

@Liteo Liteo closed this as completed Aug 20, 2012
@inossidabile
Copy link
Owner

Why did you close this?

@Liteo
Copy link
Author

Liteo commented Aug 21, 2012

I was trying to get my WSDL to output the custom reusable types created but I think I can manage without it.
And if it appears I have to, I can still hack your gem to include in the WSDL a custom tailored external file that will show these definitions.

I haven't used SOAP a lot but I think you must have reasons for not outputting these ?

All in all, that's why I closed my request.

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

2 participants