You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Christopher Johnson <jo...@gmail.com> on 2010/11/29 17:01:15 UTC

WSDL Endpoint.

All -

I've published a web service using Axis2 yet I have identified a mismatch
between the URI in the browser, and where the service is running compared to
the WSDL that is generated.

My browser address is:

https://myserver/axis2/services/MyService?wsdl

yet the address found in the WSDL look like the following:

http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint

I've tried to edit the axis2.xml to say port 80 and port 443 and added in
the https yet I did not see any change in the url.

I really just want to force the WSDL do show the desired URL, how can I go
about that.

Thanks in advance.

..Chris

RE: WSDL Endpoint.

Posted by Raghu Upadhyayula <ru...@responsys.com>.
Nagendra I've tried with firefox also and it is still not working.  I'm debugging the Axis2 code to find the issue.  I'll post if I find anything.

Thanks
Raghu
[cid:image001.png@01CB92D9.95E25DF0]<http://www.responsys.com/Interact2011>

From: Narendra Kadali [mailto:narendra_kadali@hotmail.com]
Sent: Thursday, December 02, 2010 11:04 PM
To: java-dev@axis.apache.org
Subject: RE: WSDL Endpoint.

Hi Raghu,

As for as i know there is no error with your web service. The issue is related to browser you are using. If you access it in Firefox browser you will see the wsdl. If you are using Internet Explorer 9 then use compatible mode to see the wsdl.

Regards,
Narendra

> From: rupadhyayula@responsys.com
> To: java-dev@axis.apache.org
> Date: Thu, 2 Dec 2010 14:20:12 -0800
> Subject: RE: WSDL Endpoint.
>
> Andreas,
>
> I've downloaded Axis2 1.5.3 and built the war file of my application using the 1.5.3 jars.
>
> When I access my WSDL using http://localhost/webservices/services/MyServiceName?wsdl I'm getting a blank page & I'm not seeing any errors in the log.
>
> Do I need to make any configuration changes???
>
> Thanks
> Raghu
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: Monday, November 29, 2010 10:39 AM
> To: java-dev@axis.apache.org
> Subject: Re: WSDL Endpoint.
>
> Yes. And you should configure your axis2.xml as described in [1].
>
> Andreas
>
> [1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html
>
> On Mon, Nov 29, 2010 at 17:32, Christopher Johnson <jo...@gmail.com> wrote:
> > 1.5.2.... Do you suggest an upgrade  to 1.5.3 ?
> >
> >
> > On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen
> > <an...@gmail.com> wrote:
> >>
> >> Which version of Axis2 do you use? There are known problems in
> >> versions before 1.5.3.
> >>
> >> Andreas
> >>
> >> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
> >> wrote:
> >> > All -
> >> >
> >> > I've published a web service using Axis2 yet I have identified a
> >> > mismatch
> >> > between the URI in the browser, and where the service is running
> >> > compared to
> >> > the WSDL that is generated.
> >> >
> >> > My browser address is:
> >> >
> >> > https://myserver/axis2/services/MyService?wsdl
> >> >
> >> > yet the address found in the WSDL look like the following:
> >> >
> >> >
> >> > http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
> >> >
> >> > I've tried to edit the axis2.xml to say port 80 and port 443 and added
> >> > in
> >> > the https yet I did not see any change in the url.
> >> >
> >> > I really just want to force the WSDL do show the desired URL, how can I
> >> > go
> >> > about that.
> >> >
> >> > Thanks in advance.
> >> >
> >> > ..Chris
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

RE: WSDL Endpoint.

Posted by Narendra Kadali <na...@hotmail.com>.
Hi Raghu,
 
As for as i know there is no error with your web service. The issue is related to browser you are using. If you access it in Firefox browser you will see the wsdl. If you are using Internet Explorer 9 then use compatible mode to see the wsdl.
 
Regards,
Narendra
 
> From: rupadhyayula@responsys.com
> To: java-dev@axis.apache.org
> Date: Thu, 2 Dec 2010 14:20:12 -0800
> Subject: RE: WSDL Endpoint.
> 
> Andreas,
> 
> I've downloaded Axis2 1.5.3 and built the war file of my application using the 1.5.3 jars.
> 
> When I access my WSDL using http://localhost/webservices/services/MyServiceName?wsdl I'm getting a blank page & I'm not seeing any errors in the log.
> 
> Do I need to make any configuration changes???
> 
> Thanks
> Raghu
> 
> 
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
> Sent: Monday, November 29, 2010 10:39 AM
> To: java-dev@axis.apache.org
> Subject: Re: WSDL Endpoint.
> 
> Yes. And you should configure your axis2.xml as described in [1].
> 
> Andreas
> 
> [1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html
> 
> On Mon, Nov 29, 2010 at 17:32, Christopher Johnson <jo...@gmail.com> wrote:
> > 1.5.2.... Do you suggest an upgrade  to 1.5.3 ?
> >
> >
> > On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen
> > <an...@gmail.com> wrote:
> >>
> >> Which version of Axis2 do you use? There are known problems in
> >> versions before 1.5.3.
> >>
> >> Andreas
> >>
> >> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
> >> wrote:
> >> > All -
> >> >
> >> > I've published a web service using Axis2 yet I have identified a
> >> > mismatch
> >> > between the URI in the browser, and where the service is running
> >> > compared to
> >> > the WSDL that is generated.
> >> >
> >> > My browser address is:
> >> >
> >> > https://myserver/axis2/services/MyService?wsdl
> >> >
> >> > yet the address found in the WSDL look like the following:
> >> >
> >> >
> >> > http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
> >> >
> >> > I've tried to edit the axis2.xml to say port 80 and port 443 and added
> >> > in
> >> > the https yet I did not see any change in the url.
> >> >
> >> > I really just want to force the WSDL do show the desired URL, how can I
> >> > go
> >> > about that.
> >> >
> >> > Thanks in advance.
> >> >
> >> > ..Chris
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  

RE: WSDL Endpoint.

Posted by Raghu Upadhyayula <ru...@responsys.com>.
Andreas,

	I've downloaded Axis2 1.5.3 and built the war file of my application using the 1.5.3 jars.

	When I access my WSDL using http://localhost/webservices/services/MyServiceName?wsdl I'm getting a blank page & I'm not seeing any errors in the log.

	Do I need to make any configuration changes???

Thanks
Raghu


-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com] 
Sent: Monday, November 29, 2010 10:39 AM
To: java-dev@axis.apache.org
Subject: Re: WSDL Endpoint.

Yes. And you should configure your axis2.xml as described in [1].

Andreas

[1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html

On Mon, Nov 29, 2010 at 17:32, Christopher Johnson <jo...@gmail.com> wrote:
> 1.5.2.... Do you suggest an upgrade  to 1.5.3 ?
>
>
> On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> Which version of Axis2 do you use? There are known problems in
>> versions before 1.5.3.
>>
>> Andreas
>>
>> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
>> wrote:
>> > All -
>> >
>> > I've published a web service using Axis2 yet I have identified a
>> > mismatch
>> > between the URI in the browser, and where the service is running
>> > compared to
>> > the WSDL that is generated.
>> >
>> > My browser address is:
>> >
>> > https://myserver/axis2/services/MyService?wsdl
>> >
>> > yet the address found in the WSDL look like the following:
>> >
>> >
>> > http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
>> >
>> > I've tried to edit the axis2.xml to say port 80 and port 443 and added
>> > in
>> > the https yet I did not see any change in the url.
>> >
>> > I really just want to force the WSDL do show the desired URL, how can I
>> > go
>> > about that.
>> >
>> > Thanks in advance.
>> >
>> > ..Chris
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL Endpoint.

Posted by Christopher Johnson <jo...@gmail.com>.
Issue resolved, thanks!

On Mon, Nov 29, 2010 at 11:38 AM, Andreas Veithen <andreas.veithen@gmail.com
> wrote:

> Yes. And you should configure your axis2.xml as described in [1].
>
> Andreas
>
> [1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html
>
> On Mon, Nov 29, 2010 at 17:32, Christopher Johnson <jo...@gmail.com>
> wrote:
> > 1.5.2.... Do you suggest an upgrade  to 1.5.3 ?
> >
> >
> > On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen
> > <an...@gmail.com> wrote:
> >>
> >> Which version of Axis2 do you use? There are known problems in
> >> versions before 1.5.3.
> >>
> >> Andreas
> >>
> >> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
> >> wrote:
> >> > All -
> >> >
> >> > I've published a web service using Axis2 yet I have identified a
> >> > mismatch
> >> > between the URI in the browser, and where the service is running
> >> > compared to
> >> > the WSDL that is generated.
> >> >
> >> > My browser address is:
> >> >
> >> > https://myserver/axis2/services/MyService?wsdl
> >> >
> >> > yet the address found in the WSDL look like the following:
> >> >
> >> >
> >> >
> http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
> >> >
> >> > I've tried to edit the axis2.xml to say port 80 and port 443 and added
> >> > in
> >> > the https yet I did not see any change in the url.
> >> >
> >> > I really just want to force the WSDL do show the desired URL, how can
> I
> >> > go
> >> > about that.
> >> >
> >> > Thanks in advance.
> >> >
> >> > ..Chris
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-dev-help@axis.apache.org
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

Re: WSDL Endpoint.

Posted by Andreas Veithen <an...@gmail.com>.
Yes. And you should configure your axis2.xml as described in [1].

Andreas

[1] http://axis.apache.org/axis2/java/core/docs/servlet-transport.html

On Mon, Nov 29, 2010 at 17:32, Christopher Johnson <jo...@gmail.com> wrote:
> 1.5.2.... Do you suggest an upgrade  to 1.5.3 ?
>
>
> On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> Which version of Axis2 do you use? There are known problems in
>> versions before 1.5.3.
>>
>> Andreas
>>
>> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
>> wrote:
>> > All -
>> >
>> > I've published a web service using Axis2 yet I have identified a
>> > mismatch
>> > between the URI in the browser, and where the service is running
>> > compared to
>> > the WSDL that is generated.
>> >
>> > My browser address is:
>> >
>> > https://myserver/axis2/services/MyService?wsdl
>> >
>> > yet the address found in the WSDL look like the following:
>> >
>> >
>> > http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
>> >
>> > I've tried to edit the axis2.xml to say port 80 and port 443 and added
>> > in
>> > the https yet I did not see any change in the url.
>> >
>> > I really just want to force the WSDL do show the desired URL, how can I
>> > go
>> > about that.
>> >
>> > Thanks in advance.
>> >
>> > ..Chris
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL Endpoint.

Posted by Christopher Johnson <jo...@gmail.com>.
1.5.2.... Do you suggest an upgrade  to 1.5.3 ?


On Mon, Nov 29, 2010 at 11:29 AM, Andreas Veithen <andreas.veithen@gmail.com
> wrote:

> Which version of Axis2 do you use? There are known problems in
> versions before 1.5.3.
>
> Andreas
>
> On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com>
> wrote:
> > All -
> >
> > I've published a web service using Axis2 yet I have identified a mismatch
> > between the URI in the browser, and where the service is running compared
> to
> > the WSDL that is generated.
> >
> > My browser address is:
> >
> > https://myserver/axis2/services/MyService?wsdl
> >
> > yet the address found in the WSDL look like the following:
> >
> >
> http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
> >
> > I've tried to edit the axis2.xml to say port 80 and port 443 and added in
> > the https yet I did not see any change in the url.
> >
> > I really just want to force the WSDL do show the desired URL, how can I
> go
> > about that.
> >
> > Thanks in advance.
> >
> > ..Chris
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

Re: WSDL Endpoint.

Posted by Andreas Veithen <an...@gmail.com>.
Which version of Axis2 do you use? There are known problems in
versions before 1.5.3.

Andreas

On Mon, Nov 29, 2010 at 17:01, Christopher Johnson <jo...@gmail.com> wrote:
> All -
>
> I've published a web service using Axis2 yet I have identified a mismatch
> between the URI in the browser, and where the service is running compared to
> the WSDL that is generated.
>
> My browser address is:
>
> https://myserver/axis2/services/MyService?wsdl
>
> yet the address found in the WSDL look like the following:
>
> http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
>
> I've tried to edit the axis2.xml to say port 80 and port 443 and added in
> the https yet I did not see any change in the url.
>
> I really just want to force the WSDL do show the desired URL, how can I go
> about that.
>
> Thanks in advance.
>
> ..Chris
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: WSDL Endpoint.

Posted by Christopher Johnson <jo...@gmail.com>.
I tried the change to the transportReceiver, and saw no change the the
endpoint in the WSDL.

My transportSender is just using the default one provided by axis2, I do not
see a port parameter field in it.


On Mon, Nov 29, 2010 at 11:16 AM, Martin Gainty <mg...@hotmail.com> wrote:

>  Receiver configuration in ./WEB-INF/conf/axis2.xml
>
>  <transportReceiver name="http"
> class="org.apache.axis2.transport.http.SimpleHTTPServer">
>    <parameter name="port" locked="xsd:false">80</parameter>
> </transportReceiver>
>
> Sender configuration in ./WEB-INF/conf/axis2.xml
>
> <transportSender name="http"
> class="org.apache.axis2.transport.http.SimpleHTTPServer">
>   <parameter name="port" locked="xsd:false">80</parameter>
> </transportSender>
>
> does this help?
> Martin Gainty
> ______________________________________________
> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
> Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése
> nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi
> alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen
> megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet
> tartalma miatt.
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>
>
>
>
>
>
> ------------------------------
> Date: Mon, 29 Nov 2010 11:01:15 -0500
> Subject: WSDL Endpoint.
> From: johnsocs@gmail.com
> To: java-dev@axis.apache.org
>
>
> All -
>
> I've published a web service using Axis2 yet I have identified a mismatch
> between the URI in the browser, and where the service is running compared to
> the WSDL that is generated.
>
> My browser address is:
>
> https://myserver/axis2/services/MyService?wsdl
>
> yet the address found in the WSDL look like the following:
>
> http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint
>
> I've tried to edit the axis2.xml to say port 80 and port 443 and added in
> the https yet I did not see any change in the url.
>
> I really just want to force the WSDL do show the desired URL, how can I go
> about that.
>
> Thanks in advance.
>
> ..Chris
>

RE: WSDL Endpoint.

Posted by Martin Gainty <mg...@hotmail.com>.
Receiver configuration in ./WEB-INF/conf/axis2.xml

 <transportReceiver name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
   <parameter name="port" locked="xsd:false">80</parameter>
</transportReceiver>

Sender configuration in ./WEB-INF/conf/axis2.xml

<transportSender name="http" class="org.apache.axis2.transport.http.SimpleHTTPServer">
  <parameter name="port" locked="xsd:false">80</parameter>
</transportSender>

does this help?
Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




Date: Mon, 29 Nov 2010 11:01:15 -0500
Subject: WSDL Endpoint.
From: johnsocs@gmail.com
To: java-dev@axis.apache.org

All -

I've published a web service using Axis2 yet I have identified a mismatch between the URI in the browser, and where the service is running compared to the WSDL that is generated.

My browser address is:


https://myserver/axis2/services/MyService?wsdl

yet the address found in the WSDL look like the following:

http://myserver:8080/axis2/services/MyService.MyServiceHttpSoap12Endpoint 


I've tried to edit the axis2.xml to say port 80 and port 443 and added in the https yet I did not see any change in the url.  

I really just want to force the WSDL do show the desired URL, how can I go about that.


Thanks in advance.

..Chris