JavaWSTutorial SJSAS helloword deployed but not wsdl?!

Hello,

i am new to the topic of WS, so i try it with the javawstutorial20 and sjsas9.0.

But i stuck on page 20 of 283, which is quite frustrating.

My problem is: I deployed the example service helloservice succesfully.

it is displayed in the application server, but when i try to test the wsdl, which should be displayed at: http://localhost:8080/helloservice/hello?WSDL

I just get: The requested resource () is not available.

Can someone of you help me? I already try for ours to solve this and its so frustrating... :-(

thank you anyway

peter from cologne - germany

Message was edited by:

Nuke

Ah, i forgot to mention, that the wsdl file is visible from the admin webinterface.

Message was edited by:

Nuke

[796 byte] By [Nukea] at [2007-11-27 6:31:37]
# 1
Look in the app servers log to make sure there was not an error.
dkohlerta at 2007-7-12 17:56:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

You are right, there were several errors.

It started with this Info:

Timestamp:

06.06.2007 01:30:00.625

Log Level:

INFO

Logger:

javax.enterprise.resource.webservices.jaxws.server.http

Name-Value Pairs:

_ThreadID=15;_ThreadName=Timer-3;

Record Number:

54

Message ID:

Complete Message

wsdl cannot be found from DD or annotation. Will generate and publish a new WSDL for SEI endpoints.

And then these errors:

Log Entry Detail

Details

Timestamp:

06.06.2007 01:30:00.640

Log Level:

SEVERE

Logger:

javax.enterprise.resource.webservices.jaxws.server.http

Name-Value Pairs:

_ThreadID=15;_ThreadName=Timer-3;_RequestID=4fb7b9d7-eef7-4c72-a358-f41b32e72163;

Record Number:

55

Message ID:

WSSERVLET11

Complete Message

failed to parse runtime descriptor: java.lang.TypeNotPresentException: Type javax.xml.bind.annotation.AccessType not present

java.lang.TypeNotPresentException: Type javax.xml.bind.annotation.AccessType not present

at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)

at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)

at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)

at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:370)

at sun.reflect.annotation.AnnotationParser.parseEnumValue(AnnotationParser.java:407)

at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:278)

at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:222)

at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)

at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)

at java.lang.Class.initAnnotationsIfNecessary(Class.java:3031)

at java.lang.Class.getAnnotation(Class.java:2989)

......

and a lot more.

Nukea at 2007-7-12 17:56:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Looks like the jaxb-api.jar is not in the classpath. Check to see if it is or not.
dkohlerta at 2007-7-12 17:56:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
Hello dkohlert, thank you so much, you are my hero of the day.It works fine, the jaxb-api.jar was not in the clathpath.Thanks from ColognePeter
Nukea at 2007-7-12 17:56:33 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...