Prestasoap url to WSDL in Java API - VDM Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Prestasoap url to WSDL in Java API
(2 viewing) DesaLak, (1) Guest
Go to bottomPage: 1
TOPIC: Prestasoap url to WSDL in Java API
#1522
Prestasoap url to WSDL in Java API 4 Years, 6 Months ago Karma: 0
Hello,
We use Java API and your serviceFactory to get services.

Code:


PS_WebServicesFactory.getService(WSPrestaEnum.addresses);



How to set URL to WSDL ? We have connction exeption because webservice try to connect to localhost.
Fiddee
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1523
Re: Prestasoap url to WSDL in Java API 4 Years, 6 Months ago Karma: 9
Hi,

You have 2 solutions :

- edit prestasoap.properties file and add your hostname

Code:

ps_url=http://www.your_serveradress/prestashop/

you can also set KEY
Code:

ps_key=THEKEYGENERATEDINPRESTASHOPBACKEND


All services get by the serviceFactory will be setted with good URL

- Second solution is instanciate service with URL parameters:

exemple

Code:

Categories_Service service = new Categories_Service("http://www.your_serveradress/....WSDL.php");
admin
Mickael
Admin
Posts: 1004
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Virtuemart Datamanager Location: Paris France Birthday: 08/03
VDM & SOA For VM Admin
The administrator has disabled public write access.
 
#2558
YYdscvafZTgajkdfv 3 Months, 1 Week ago Karma: 0
Gtczxvdg fxfskrddfbxdf.com
here: Gtczxvdg fxfskrddfbxdf.com
best Gtczxvdg fxfskrddfbxdf.com
Maefegvtjy
dfsdgbcdsHLBHFDasufksdfjln
Ozxcjkl Maefegvtjy dfdfdfdsdgd
FGxczDHXfgvdhjhjhjhsdadddfxgbnbm
Arymxurcala
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Follow us on Facebook & Twitter



  

Useful informations

Itunes / Online store / Forum / FAQS / Contacts / About Us / Terms of Service