oops,

let me try this again

so my weblogic.xml just has

<prefer-web-inf-classes>true</prefer-web-inf-classes>

So I tried removing the the two jars in the WEB-INF/Lib that contain
UserDataHandler

they were jaxen and xmlbeans

Now cxf will display the wsdl without an error, however the types aren't
showing up.

In the wsdl I have

<wsdl:operation name="closeTicket">
<soap:operation soapAction="" style="document" />
<wsdl:input name="closeTicket">
<soap:body use="literal" />
</wsdl:input>
<wsdl:output name="closeTicketResponse">
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>

close ticket is defined as

<xs:element name="closeTicket" nillable="true" type="tns:closeTicket" />
<xs:element name="closeTicketResponse" nillable="true"
type="tns:closeTicketResponse"

closeTicket and closeTicketResponse don't seem to be defined anywhwere

On Wed, Dec 23, 2009 at 1:51 PM, Bill Smith <[email protected]>wrote:

> <wsdl:operation name="closeTicket">
> <soap:operation soapAction="" style="document" />
> <wsdl:input name="closeTicket">
> <soap:body use="literal" />
> </wsdl:input>
> <wsdl:output name="closeTicketResponse">
> <soap:body use="literal" />
> </wsdl:output>
> </wsdl:operation>
>
> close ticket is defined as
>
> <xs:element name="closeTicket" nillable="true" type="tns:closeTicket" />
> <xs:element name="closeTicketResponse" nillable="true"
> type="tns:closeTicketResponse"
>
>
> closeTicket and closeTicketResponse don't seem to be defined anywhwere
>
> On Wed, Dec 23, 2009 at 11:48 AM, KARR, DAVID (ATTCINW) <[email protected]>wrote:
>
>> > -----Original Message-----
>> > From: Bill Smith [mailto:[email protected]]
>> > Sent: Wednesday, December 23, 2009 8:33 AM
>> > To: [email protected]
>> > Subject: Re: trouble running webservice on weblogic
>> >
>> > If I make this change, I get the following error
>> >
>> > java.lang.LinkageError: Class org/w3c/dom/UserDataHandler violates
>> > loader
>> > constraints
>>
>> I'd have to see your "prefer-application-packages" element and the jars
>> you're trying to include in your app.  It sounds like you're trying to
>> include a jar in your app that is defined in the JDK, not just WebLogic.
>> It's harder to override JDK-specified classes than WebLogic-specified
>> classes (and usually not necessary).
>>
>> > at java.lang.ClassLoader.defineClass1(Native Method)
>> > at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> > at
>> >
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>> > at
>> >
>> weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClass
>> > Loader.java:338)
>> > at
>> >
>> weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCl
>> > assLoader.java:291)
>> > Truncated. see log file for complete stacktrace
>> >
>> > On Tue, Dec 22, 2009 at 5:19 PM, KARR, DAVID (ATTCINW)
>> > <[email protected]>wrote:
>> >
>> > > > -----Original Message-----
>> > > > From: Bill Smith [mailto:[email protected]]
>> > > > Sent: Tuesday, December 22, 2009 1:32 PM
>> > > > To: [email protected]
>> > > > Subject: trouble running webservice on weblogic
>> > > >
>> > > > I am trying to create a rather simple webservice on weblogic
>> 10MP1.
>> > >
>> > > You will very likely have to make sure that your application jars
>> are
>> > > used instead of some that WebLogic uses natively.  You do that with
>> a
>> > > "weblogic-application.xml" file that specifies the
>> > > "prefer-application-packages" element.
>> > >
>> > >
>>
>
>

Reply via email to