axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu, Joel, Contractor" <Joel.Yu....@asamra.hoffman.army.mil>
Subject wsdl2java: invalid endpoint address for https
Date Thu, 15 Apr 2004 15:15:37 GMT
hi,
I encounter a problem when using WSDL2Java to generate client jar.  the
problem occured when there is a endpoint address defined in the wsdl file
with https as protocol.
>From what i understand, axis supports https.  So how can have wsdl2java
generate client class files that supports https?


you can find the wsdl file here:
http://schemas.monster.com/Current/Extensions/RecruitmentOneStop/WSDL/Recrui
tmentOneStop.wsdl

the part of the wsdl file where the problem occured:
<port name="BusinessGatewayEndpoint" binding="tns:OPMBusinessGatewayImpl">
<soapbind:address
location="https://gateway.monster.com:8443/bgwBroker/RecruitmentOneStop" /> 
</port>

The exception WSDL2Java throwed:
java.io.IOException: Emitter failure.  Invalid endpoint address in port
BusinessGatewayEndpoint i
ervice OPMBusinessGatewayServiceLocator:
https://gateway.monster.com:8443/bgwBroker/RecruitmentOtop
        at
org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceI
mplWriter.
a:192)
        at
org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:148)
        at
org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.jav
a:101)
        at
org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGenera
torFactory
va:284)
        at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:328)
        at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:82)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:246)
        at java.lang.Thread.run(Thread.java:479)



thanks very much for your help

Mime
View raw message