Похожие чаты

Hi guys, I'm trying to build a JAR with a

SOAP client in Java from a WSDL i was provided with. I'm using Eclipse, so it offers me some tools in order to generate most of the code. So I should only add the invokation of the WS I'm calling and the parameters processing and stuff like that. Seems easy. The thing is, this JAR is gonna be working on different environments, so I have decided to write down the ENDPOINT URL of the WS on a properties file, so the JAR can choose which endpoint to use depending on the environment, it's dynamic. I have used this code in order to change the endpoint: https://pastebin.com/PGx1txkP . The problem is...it's giving me a 500 error server-side when I'm changing the URL. For example, the WSDL base endpoint (the one which I used to generate the client code) is URL_ENVIRONMENT1, if I make my code take that same URL (or any other) from the .properties file and set it up as you just saw it gives me the error, but if I call the web service using the default URL it works well. Any hints or ideas? Should I be doing something more in order to configure my SOAP code to change endpoints? Thank you in advance!

2 ответов

5 просмотров

Where is the default URL configured?

.- Автор вопроса
Roy
Where is the default URL configured?

The WSDL I was provided with has a soap:address location = "WS URL DEFAULT ENVIRONMENT"

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта