org.w3._2001.xmlschema.Adapter1 is generated by wsdl2java tool or wrote by
yourself ?
Jim
On Thu, Apr 10, 2008 at 6:24 AM, [EMAIL PROTECTED] wrote:
I've followed the documentation pertaining to a customer binding for
wsdl2java. Specifically, replacing the XMLGregorianCalendar with
Hi ,
what is your wsdl ?
Cheers
Jim Ma
On 3/6/08, Landslide [EMAIL PROTECTED] wrote:
If I have a class of Contact which has an instance variable of
ListAddress addresses = new ArrayListAddress();
on my server side implementation, using the tool of WSDL2Java generates
the
getter method
.CustomizedWSDLLocator.getImportInputSource(CustomizedWSDLLocator.java:113)
[java] ... 16 more
Is this being caused by a bug somewhere in WSDL2Java? As before, it all
works OK if the binding file is not passed in.
Thanks,
Jesse.
jim ma wrote:
Some elements are missing in your
Go ahead, Jesse.
Wsdl2java tool will use different class to process customization(binding
file), so we need
to process the URI contains spaces before it invokes JAXWSDefinitionBuilder
class.
Cheers
Jim Ma
On Wed, Mar 5, 2008 at 10:56 PM, Jesse McLaughlin [EMAIL PROTECTED]
wrote:
Cool
Hi Jesse,
Can you also paste the error stacktrace for the details?
Thanks
Jim Ma
On Tue, Mar 4, 2008 at 5:42 PM, Jesse McLaughlin [EMAIL PROTECTED]
wrote:
Thanks for the suggestion Dan. Now I am getting a different error from
WSDL2Java. I tried the following exact binding file based
wsdl definition file:[...path-to-project
ommitted...]/src/main/test/test.wsdl
Is there some way to get the stack trace information?
Cheers,
Jesse.
jim ma wrote:
Hi Jesse,
Can you also paste the error stacktrace for the details?
Thanks
Jim Ma
On Tue, Mar
Hi,
The wsdl is required because not all the informations are generated in the
stub code .
For example, you can not find the port address information in stub code.
Regards
Jim Ma
On Wed, Mar 5, 2008 at 12:25 AM, John-M Baker [EMAIL PROTECTED] wrote:
Hello,
Why does the stubs generated
Hi Jesse,
I just tried this binding file with hello_world.wsdl and it works.
Can you check if there is some typo/error in your wsdl and make sure the
xpath expression is right for your wsdl .
Cheers
Jim Ma
On Sun, Mar 2, 2008 at 7:13 PM, Jesse McLaughlin [EMAIL PROTECTED]
wrote:
Hi
Kohsuke Kawaguchi's blog talked about this , you can get some information
from
this link:
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html
On Wed, Feb 27, 2008 at 9:25 AM, Glen Mazza [EMAIL PROTECTED] wrote:
I think the answer is no, neither CXF nor GlassFish Metro
details for Jim Ma ---09/01/2008 02:18:56---Hi
Monica,Jim Ma ---09/01/2008 02:18:56---Hi Monica,
From:
Jim Ma [EMAIL PROTECTED]
To:
cxf-user@incubator.apache.org
Date:
09/01/2008 02:18
Subject:
Re: WSDLToJava Error : Thrown by JAXB : undefined element declaration
'ns1:orderBy
more
Inactive hide details for Jim Ma ---08/01/2008 02:56:05---Hi
Monica,Jim Ma ---08/01/2008 02:56:05---Hi Monica,
From:
Jim Ma [EMAIL PROTECTED]
To:
cxf-user@incubator.apache.org
Date:
08/01/2008 02:56
Subject:
Re: WSDLToJava Error : Thrown by JAXB : undefined element
to a different JAXB
context: com.aaa.bbb.zzz.jaxb, but not sure if/how to indicate this?
Thanks for your help,
Monica
Inactive hide details for Jim Ma ---07/01/2008 02:22:26---Hi ,Jim Ma
---07/01/2008 02:22:26---Hi ,
From:
Jim Ma [EMAIL PROTECTED]
To:
cxf-user@incubator.apache.org
Date
Change the operation to one-way MEP,, you can get the void return :
wsdl:portType name=Simple
wsdl:operation name=Update
wsdl:input message=ws:Update /
/wsdl:operation
/wsdl:portType
mattrpav wrote:
I'm not sure I am following you. I'm looking to have the
Hi ,
From the error message , I think this is caused by the inner class
OrderBy is not loaded into
JAXB context . Can you modify this class as a outer class and try it
again ?
I will look it further to see if the JAXB can not load the inner static
class .
Thanks
Jim
Monica Ferrero wrote:
There is a dataBinding configuration in jaxws.xsd which used to parse
the jaxws:** tag:
https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/frontend/jaxws/src/main/resources/schemas/jaxws.xsd
But it has not been implemented . I will get it fixed today or tomorrow.
Use jaxws:dataBinding
It is warning message not error . You do not need to provide them .
Java2wsdl can generate wsdl and the wrapper bean
for this class.
Regards
Jim
yulinxp wrote:
Here is the SEI. I use cxf 2.0.3 when I run java2wsdl, why it always asks for
RequestWrapper ResponseWrapper. Do I need to provide
Hi Nathan,
Wsdl2java can not merge the ObjectFactory to the previously generated
class. We need to provide a warning
message or an option before overwrite the generated code.
I think you can use wsdl2java -pnamespce=package to map the different
namespace to different package .
for example:
Hi ,
AFAIK you can not do it . There is no any response that client can
receive until the operation is done .
I think you can create another service to get updates of the current
status . You can query status from the this
this service when you show the information on the status bar. Is it
It is definitely an issue in Aegis databinding. TypeCreator is failed
to cast a generic type which added in TypeClassInfo
to Class object .
I have filled a JIRA issue for this :
https://issues.apache.org/jira/browse/CXF-1309
Jim
Jayakumar wrote:
Created the sample using the aegis binding
Hi ,
You can set the log level to FINE [1] to see if this interceptor is
really added to the interceptor chain .
[1] http://cwiki.apache.org/CXF20DOC/debugging.html
Regards
Jim
Thorsten Jungblut wrote:
Hi,
i'm using CXF in Tomcat 6.0. I deployed a simple JAX-WS Webservice along
with CXF
Hi ,
Add the wsdlLocation and Xpath express to provide which schema you want
to customize , try the following binding file
to see if it works for your wsdl:
jaxws:bindings wsdlLocation=${your.wsdl}
xmlns:jaxws=http://java.sun.com/xml/ns/jaxws;
/. Also in the file I
provided I do not have to specify my WSDL file, which makes sense for me
sisnce all I want to do is that the entity stubs implement Serializable.
I
need them to be serializable so I can use them with other frameworks that
requires it.
Jim Ma-3 wrote:
Hi ,
Add
JAXB can not handle interfaces . See :
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html.
Jim
priya j wrote:
The FrontEndService is the implementor class of IFrontEndService. The problem
here is if i call my interface it fails.
Hope i have explained wht my problem is
it work.
Thanks a lot for ur response
Jim Ma-3 wrote:
JAXB can not handle interfaces . See :
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html.
Jim
priya j wrote:
The FrontEndService is the implementor class of IFrontEndService. The
problem
here is if i call
/wsp:All
/wsp:ExactlyOne
/wsp:Policy
/port
/service
Regards
Jim Ma
Bradford Maxwell wrote:
Can't generate code from
?xml version=1.0 encoding=UTF-8?
definitions
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01
Hi Benson ,
Is this issue same as https://issues.apache.org/jira/browse/CXF-1226?
Regards
Jim
Benson Margulies wrote:
Consider the following pile of snails. Now, I realize, I don't need them
in CXF, but I had coded them to test something. Except, that, I'd
neglected to code the @WebResult at
just disconnected from the complex
alternative path I was using just now.
-Original Message-
From: Jim Ma [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 25, 2007 9:27 PM
To: cxf-user@incubator.apache.org
Subject: Re: Diagnosis of stupid JAXB/JAXWS errors
Hi Benson ,
Is this issue
Hi ,
I think you can do it .
Write your own ServiceConfiguration (extends
org.apache.cxf.service.factory.DefaultServiceConfiguration) and
override getOperationName method to change the default operation name .
Then add your ServiceConfiguration to
spirng configuration xml like the
Hi ,
This is an issue in CXF . Can you log it into
https://issues.apache.org/jira/browse/CXF with your
test case ?
Thanks
Jim
Nianhua Li wrote:
Dear list,
I am using the java-first approach with spring configuration on cxf 2.0.3
and tomcat 5.5. I specified namespace for all the input and
Hi Callum,
I just fixed an issue for this plugin and updated the CXF wiki for it .
Refer to this link
http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html for
its configuration and
usage .
I will ask other guys to publish a snapshot for this fix. Before the new
snapshot is
Hi ,
If the method returns an interface , jaxb can not handle it and
throws exception .
This is the reason why it can not :
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html,
FYI.
Cheers
Jim
Roberto Druetto wrote:
Hi,
I've a problem when I try to set up a
Hi ,
The cxf system test module also uses this plugin to generate code . It
works fine .
I did not see any error related to wsdl2java tool or this plugin from
the maven output .
Use mvn -e to see if you can get the error stack trace .
Cheers
Jim
Ivo van Dongen wrote:
Hi,
We're using the
-com:document:sap:soap:functions:mc-style)
public class NoMilSapNumberLookupService extends Service {
public NoMilSapNumberLookupService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
}
see wsdl and binding customization in attachment.
On Friday 19 of October 2007 09:58:20 Jim Ma
Hi ,
Could you tell me more information about this issue ?
Which version CXF did you use ?
How did you start and call this service ?
Cheers
Jim
Bc. Jiří Mikulášek wrote:
Hi all,
I have used wsdl2java with external binding file specified through -b. My
stubs for client have been generated
Can you check the following files on your classpath ?
META-INF/spring.handlers
META-INF/spring.schemas
-Jim
shaminda perera wrote:
Hi all,
I have created a web service and followed the instructions in
http://cwiki.apache.org/CXF20DOC/servlet-transport.html in order to deploy
it in JBoss. I
Jim, yes I have those files in the classpath. I mean they are inside the
spring-beans-2.0-m2.jar\META-INF folder. this spring jar is in the
classpath.
These files should be in cxf-rt-frontend-jaxws.jar. And jaxws.xsd is
also packaged into this jar file. Can you
confirm this jar file on
11:50:42,892 INFO [STDOUT] 11:50:42,892 ERROR [ContextLoader] Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'companyTrackSearch': Invocation o
f init method failed; nested exception is java.lang.ClassCastException:
It seems
the
URL.
Please help.
On 10/18/07, Jim Ma [EMAIL PROTECTED] wrote:
Jim, yes I have those files in the classpath. I mean they are
inside
the
spring-beans-2.0-m2.jar\META-INF folder. this spring jar is in the
classpath.
These files should
/jar issue, since when i
publish this same web service to Jetty HTTP server using
Endpoint.publish()
, it is working fine. I mean i was also able to access the WSDL using
the
URL.
Please help.
On 10/18/07, Jim Ma [EMAIL PROTECTED] wrote
Hi ,
Did you configure wsdlLocation as an attribute for jaxws:endpoint like
the following example :
jaxws:endpoint id=wsdlLocation implementor=org.apache.cxf.Greeter
address=http://localhost:8080/sample;
wsdlLocation=wsdl/addNumbers.wsdl/
You can also add the wsdlLocation attribute to
It is right . package-info.class is only used to generate schema element .
It will not impact on the namespace prefixes for the wsdl:definition
element.
-jim
Benson Margulies wrote:
At least with CXF, the namespace prefixes for the wsdl:definition
element ignore any @XmlNs mappings on the
It is ok to set this property to JAXB Marshaller to control the
namespace prefix.
Currently we use hard code to set properties for JAXB Marshaller , maybe
we need more flexible way to configure JAXB Marshaller.(use spring
configuration ? )
-Jim
Benson Margulies wrote:
I see a way to get a
You need to use the below jaxb binding file when run wsdl2java to tell
jaxb you need choice content :
jaxb:bindings version=2.0 schemaLocation=your.wsdl
xmlns:jaxb=http://java.sun.com/xml/ns/jaxb;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
node=//xsd:schema
jaxb:globalBindings
Hi Matt,
FYI ,
http://static.springframework.org/spring-ws/site/reference/html/why-contract-first.html
Jim
mattmadhavan wrote:
Hello,
I am looking into various ways of developing Webservices. For green field
development it seems that, Java first is the better way! Any ideas on pros
and cons
Hi exgorth ,
You use the wsdl2java -exsh true to generate the parameter for soap
header .
Regards
Jim
exgorth wrote:
The service i'm trying to access accepts the auth info in custom way - client
must specify a soap:header with login:password pair and receive a token,
that must be included
: 11M/28M
[INFO]
Jim Ma-3 wrote:
Hi exgorth ,
You use the wsdl2java -exsh true to generate the parameter for soap
header .
Regards
Jim
exgorth wrote:
The service i'm trying to access accepts the auth info
/executions
/plugin
Jim Ma wrote:
You need to add the soap binding dependency in your pom :
dependency
groupIdorg.apache.cxf/groupId
artifactIdcxf-rt-bindings-soap/artifactId
version2.0.1-incubator/version
/dependency
-Jim
exgorth
(ClientProxyFactoryBean.java:89)
at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:336)
at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:241)
... 3 more
Jim Ma-3 wrote:
Hi exgorth ,
You use the wsdl2java -exsh true to generate the parameter
Hi Benson ,
This class is generated as per Jaxws spec 2.5 .
I think the string message in constructor is useful if there is no
message in X to tell us what the fault is or where throw this fault .
The below is the sample we use the message to indicate where cause this
error :
.
What do you think? Pragmatic workaround or artful hackery?
Cheers,
Ade.
Jim Ma-3 wrote:
Hi Adrian,
If this class can be modified , I think we can add some annotations for
this method to avoid generating wrapper element and resolve clash :
pacakge com.foo;
public class Bar
. However, as you say in your email, CXF
doesn't provide support for this.
Best,
Ade.
Jim Ma-3 wrote:
Hi Adrian,
What type of collision did you run into ? Is this schema element name
collision?
Java2wsdl uses converted packagename or annotated namepace as it's
namespace
Hi Adrian,
What type of collision did you run into ? Is this schema element name
collision?
Java2wsdl uses converted packagename or annotated namepace as it's
namespace ,
and there is no way to customize the namespace on per-package basis like
wsdl2java does.
Cheers
-Jim
Trenaman, Adrian
/browse/CXF-816.
BTW , CXF implemented own http binding which can easily build restful
webservice.
http://cwiki.apache.org/CXF20DOC/http-binding.html ,FYI.
Jim
Jim Ma wrote:
Hi,
I think this issue is fixed by James couple days before
.(http://svn.apache.org/viewvc?view=revrev=554819*)* . Did
(ParserContext.java:162)
... 15 more
On Jul 19, 2007, at 8:06 PM, Jim Ma wrote:
Hi ,
The generated wsdl seems invalid**. Can you also paste the wsdl you
generated?
Cheers
Jim
Julio Arias wrote:
Hi -
I have the following web method, we are using JAXB binding but the
WSDL generator
Hi,
I think this issue is fixed by James couple days before
.(http://svn.apache.org/viewvc?view=revrev=554819*)* . Did you used the
lastest cxf kit ?
Cheers
Jim
kranga wrote:
Can someone please attempt to duplicate this and help me debug the
root cause. The error is with the geenrated code
Hi Jan,
By default CXF will use JaxWsServiceFactoryBean to construct
JaxwsServerFactoryBean when it parse the jaxws:endpoint/ configuration .
We do not have many tests for JaxwsServiceFactoryBean working with
AegisDatabinding . I think the ReflectionServiceFactoryBean and
AegisDatabinding
Hi Jan,
Did you test ReflectionServiceFactoryBean with Aegis ? Is it working ?
bean id=serviceFactory
class=org.apache.cxf.service.factory.ReflectionServiceFactoryBean
property name=dataBinding ref=aegisDatabinding/
/bean
I think you can use ClientProxyFactoryBean to invoke service used
Yes. You can .
Jim
Guy Pardon wrote:
No problem:-)
I assume I can still use the generated files if we delete the
duplicate classes?
Thanks,
Guy
On 5-jul-07, at 04:42, Jim Ma wrote:
Hi Guy,
This is an issue in wsdl2java tool . I filled a jira issue for it :
https://issues.apache.org
Hi ,
I wrote the follow configuration to deploy the sample
restful_http_binding (under cxf-home/samples) in tomcat :
beans xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:jaxws=http://cxf.apache.org/jaxws;
Hi Jan ,
I think this can inject the databinding in ServiceFactoryBean :
bean id=aegisDatabinding
class=org.apache.cxf.aegis.databinding.AegisDatabinding/
bean id=JaxWsServiceFactoryBean
class=org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
property
Hi Jan ,
I think this is an issue or unsupported. I see there is no item for
databinding in jaxws.xsd :
xsd:element name=endpoint
xsd:complexType
xsd:complexContent
xsd:extension base=beans:identifiedType
xsd:sequence
xsd:element name=binding
Hi Guy,
Can you paste your wsdl ? Is there any elements in wsdl which name is
CoordinatorPortTypeClient ?
Cheers
Jim
James Mao wrote:
Hi Guy
I'm not sure how you run the wsdl2java, but seems that you run twice.
Or before you run wsdl2java, there are client and server main line
classes
Hi Guy,
This is an issue in wsdl2java tool . I filled a jira issue for it :
https://issues.apache.org/jira/browse/CXF-765.
I am working on it now . Thank you for reporting this issue .
Thanks
Jim
Guy Pardon wrote:
On 4-jul-07, at 14:54, Jim Ma wrote:
Hi Guy,
Can you paste your wsdl
Hi ,
Is there any annotation in your impl class? Can you provide your impl
class ?
--Jim
Erlend Hamnaberg wrote:
Hello list.
I have an npe problem with the binary distribution of cxf.
I am stumped over why this happens. There is probably something
obvious that i have forgotten, however
Hi Krystian,
I think CXF does not parse the same wsdl file for several times. The
WSDLManager will cache the wsdl definition with same URL.
(see
http://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLServiceFactory.java
around line 82)
But we do
Hi Dan ,
The CXF http binding id is http://apache.org/cxf/binding/http; .
Try this one, @BindingType(value=http://apache.org/cxf/binding/http;).
Regards
Jim
-Original Message-
From: Dan Connelly [mailto:[EMAIL PROTECTED]
Sent: Monday, May 14, 2007 12:47 AM
To:
How about add a method tryFromProxy() in URIResolver ?
Tools or DynamicClientFactory can all get wsdl or other resource by
URIResolver.
Regards
Jim
-Original Message-
From: Dan Diephouse [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 05, 2007 10:52 AM
To:
67 matches
Mail list logo