Código:
Y el cliente lo tengo con php este es el codigo:/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
/**
*
* @author Yo
*/
@WebService()
public class HolaMundoWSApp {
/**
* Web service operation
*/
@WebMethod(operationName = "Saludar")
public String Saludar(@WebParam(name = "nombre")
String nombre) {
//TODO write your implementation code here:
return "Hola "+nombre+"!!";
}
}
Código PHP:
<?php
require_once('lib/nusoap.php');
$cliente = new soapclient("http://localhost:8080/HolaMundoWSApp/HolaMundoWSApp?wsdl",true);
$parametros = array('numero'=>"Hola");
$resultado=$cliente->call('Saludar',$parametros);
echo "Bienvenido ".$resultado." ".$cliente->getError();
?> Bienvenido Array S:Client: Cannot find dispatch method for {}Saludar
entonces no sé que podria ser, haber si me pueden ayudar
De antemano muchas gracias Dios los bendiga!


