Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Namespaces and java mapping in WSDL
Namespaces and java mapping in WSDL [message #1763367] Sun, 14 May 2017 10:50
luca cipriettiFriend
Messages: 4
Registered: May 2017
Junior Member
I'm creating a WSDL with the Eclipse WSDL editor.
I want to organize the code (generated from the wsdl) in packages.
I saw that I can do that by adding namespaces to elements, but I'm not able to assign namespaces to types.
I mean: I created a XSD schema, with some types that I want to share between services, for example ErrorType.
For this file, I set as default namespace "http://", and then I imported it into my wsdl.
When I generate the code from the wsdl, it goes in the "model" packages, so it is the desired behaviour.
Now I want to do the same thing, but varying packages inside the same wsdl:
I want to assign the namespace "model.service306" to the types that I declare inside the Service306.wsdl, so they will be generated in the "model.service306" package, and so on with other services (service307, service308, etc...), and assign the namespace "business.service306" for the operations.
How can I do this by the Eclipse WSDL editor?

Another thing is: when I generate the code from the wsdl, it translates the xsd:date and xsd:datetime to Java Calendar class, but I want to map it to the Date class. Is it possible?

Thank you, and sorry for my bad English.
Previous Topic:Web Page Editor delay of >= 40 Seconds on first startup
Next Topic:EcmaScript 6 Support in Eclipse Oxygen?
Goto Forum:

Current Time: Thu Sep 24 06:19:58 GMT 2020

Powered by FUDForum. Page generated in 0.02320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top