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

Generating operations and bindings #160

Closed
sebastiandinu opened this issue Oct 19, 2018 · 1 comment
Closed

Generating operations and bindings #160

sebastiandinu opened this issue Oct 19, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@sebastiandinu
Copy link

How can I generate the java service files from the wsdl bindings ?
Right now I can generate the schema and if I try to but bindings also to generate, it fails because the root element must be {http://java.sun.com/xml/ns/jaxb}bindings but it is {http://schemas.xmlsoap.org/wsdl/}definitions which makes sense, but I do not have any other file than this wsdl.

My wsdl has this form:

<wsdl:definitions>
	<wsdl:types>
		<xs:schema>
		...
		</xs:schema>
		...
	</wsdl:types>
	<wsdl:message>
		<wsdl:part/>
	</wsdl:message>
	...
	<wsdl:portType>
		<wsdl:operation>
			<wsdl:input/>
			<wsdl:output/>
		</wsdl:operation>
		...
	</wsdl:portType>
	<wsdl:binding>
		<soap:binding/>
		<wsdl:operation>
			<soap:operation/>
			<wsdl:input>
				<soap:body/>
			</wsdl:input>
			<wsdl:output>
				<soap:body/>
			</wsdl:output>
		</wsdl:operation>
		...
	</wsdl:binding>
	<wsdl:service>
		<wsdl:port>
			<soap:address/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>
@highsource
Copy link
Owner

With this plugin you can't. It's the task for wsimport, so out of the scope here, sorry.

@highsource highsource self-assigned this Oct 28, 2018
@highsource highsource added this to the 0.14.x milestone Oct 28, 2018
laurentschoelens added a commit to laurentschoelens/jaxb-tools that referenced this issue Jul 3, 2023
…ce#167)

Co-authored-by: Laurent SCHOELENS <laurent.schoelens@sfr.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants