You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Pradipta Mishra <PM...@innovativeit.com> on 2004/06/23 04:21:33 UTC
import statements
When I create Calculator.jws at the same level as that of jsp pages I am
able to create WSDL. This has no import statements. Now I create another
file Restriction.jws which has import statements. The same file with
.java extension works fine in my java application. But when I try to
create WSDL for Restriction.jws, it gives the following error. I need
help on how to handle this.
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Error while compiling:
C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
B-INF\jwsClasses\Restriction.java
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.compileError
faultSubcode:
faultString: Error while compiling:
C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
B-INF\jwsClasses\Restriction.java
faultActor:
faultNode:
faultDetail:
{}Errors: Error compiling
C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
B-INF\jwsClasses\Restriction.java:
Line 0, column 0: could not parse error message: Note:
sun.tools.javac.Main has been deprecated.
C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
B-INF\jwsClasses\Restriction.java:3: Class
com.iits.pulsar.vo.security.UserToken not found in import.
import com.iits.pulsar.vo.security.UserToken;
^
Line 4, column 7: Class com.iits.pulsar.vo.EntityKey not found in
import.
Line 5, column 7: Class
com.iits.cosmos.app.delegate.CosmosBusinessRuleDelegate not found in
import.
Line 0, column 0:
3 errors, 1 warning
Pradipta
Re: import statements
Posted by Venkatesh Kancharla <ve...@strandgenomics.com>.
Hi Pradipta,
You need to place all the classes which are required by jws file
in WEB-INF/classes (if its classes) or in WEB-INF/lib (if its jar file).
regards
Venkatesh
On Tue, 22 Jun 2004, Pradipta Mishra wrote:
>
>
> When I create Calculator.jws at the same level as that of jsp pages I am
> able to create WSDL. This has no import statements. Now I create another
> file Restriction.jws which has import statements. The same file with
> .java extension works fine in my java application. But when I try to
> create WSDL for Restriction.jws, it gives the following error. I need
> help on how to handle this.
>
> AXIS error
>
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Error while compiling:
> C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
> B-INF\jwsClasses\Restriction.java
>
>
>
>
> AxisFault
> faultCode: {http://xml.apache.org/axis/}Server.compileError
> faultSubcode:
> faultString: Error while compiling:
> C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
> B-INF\jwsClasses\Restriction.java
> faultActor:
> faultNode:
> faultDetail:
> {}Errors: Error compiling
> C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
> B-INF\jwsClasses\Restriction.java:
> Line 0, column 0: could not parse error message: Note:
> sun.tools.javac.Main has been deprecated.
> C:\bea\user_projects\domains\ecos\applications\cosmosapp\cosmoswebapp\WE
> B-INF\jwsClasses\Restriction.java:3: Class
> com.iits.pulsar.vo.security.UserToken not found in import.
> import com.iits.pulsar.vo.security.UserToken;
> ^
>
> Line 4, column 7: Class com.iits.pulsar.vo.EntityKey not found in
> import.
> Line 5, column 7: Class
> com.iits.cosmos.app.delegate.CosmosBusinessRuleDelegate not found in
> import.
> Line 0, column 0:
> 3 errors, 1 warning
>
>
> Pradipta
>
>
>