0
私はservicex.comに行って自分のSOAPサービスのスキルを確認しましたが、このエラーが発生しています。私を助けることができる人はいますか?com.sun.xml.internal.ws.fault.ServerSOAPFaultException:クライアントからSOAPフォールトが受信されました
ありがとうございました 私はサービスを消費する私のメインクラスです。
import java.util.Scanner;
import net.webservicex.ArrayOfAddress;
import net.webservicex.USAddressVerification;
import net.webservicex.USAddressVerificationSoap;
import net.webservicex.VerifyAddressResponse;
public class AddressValidation {
public static void main(String [] arg) {
@SuppressWarnings("resource")
Scanner in = new Scanner (System.in);
System.out.println("enter the city ");
String city = in.nextLine();
System.out.println("enter the state ");
String state = in.nextLine();
System.out.println("enter the zip ");
String zip = in.nextLine();
// service end point interface
USAddressVerification addressVerification= new USAddressVerification();
USAddressVerificationSoap addressVerificationSoap = addressVerification.getUSAddressVerificationSoap();
ArrayOfAddress USAddress = addressVerificationSoap.verifyAddress(city, state, zip);
VerifyAddressResponse reponse = new VerifyAddressResponse();
reponse.setVerifyAddressResult(USAddress);
System.out.println("The Address is:" + reponse.getVerifyAddressResult());
}
}
そのクライアントの問題:あなたがここにhttp://www.webservicex.net/New/Home/ServiceDetail/77 – silfrede
おかげで、あなたを私のWSDLをテストすることができます。サービスはまだ正常に動作していたので、あなたのために働く – silfrede