Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 04:55
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Web Services: XML, Soap, WSDL, UDDI, and Flash Integration (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  different url for service than url for wsdl
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: different url for service than url for wsdl  (Read 7599 times)
heppy
Server what's that
*
Posts: 1


View Profile Email
« on: 07/24/07, 08:00 »

Hi Guys,

Sorry if the tittle is confusing, i'm a bit confused myself.

I have a wsdl that sits on a remote server at for example http://www.host.com/service?wsdl

inside the wsdl are these lines

<wsdl:service name="InventoryBeanService">

   <wsdl:port name="InventoryBeanServiceSOAP11port_http" binding="axis2:InventoryBeanServiceSOAP11Binding">
<soap:address location="http://192.168.100.1:9080/axis2/services/InventoryBeanService"/>
</wsdl:port>

   <wsdl:port name="InventoryBeanServiceSOAP12port_http" binding="axis2:InventoryBeanServiceSOAP12Binding">
<soap12:address location="http://192.168.100.1:9080/axis2/services/InventoryBeanService"/>
</wsdl:port>

   <wsdl:port name="InventoryBeanServiceHttpport" binding="axis2:InventoryBeanServiceHttpBinding">
<http:address location="http://192.168.100.1:9080/axis2/services/InventoryBeanService"/>
</wsdl:port>
</wsdl:service>

I get an error running the web service, "can't find endpoint http://192.168.100.1:9080/axis2/services/InventoryBeanService"

Obviously because i am remote from the wsdl.

Now the developers who made the wsdl have told me that they can't modify this, because it is generated automatically and takes the IP address of the first NIC it sees. I'm sure there is a way to change this, but anyhow, i'm not going to argue with them.

The question is, is there a way to define the actual service url in actionscript? The developers have told me that in .Net there is.

But the code he sent me seems to accessing directly the beanService and not the through the wsdl.

Anyway around this? Do you think they are right that this can't be changed?

Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!