nj toto

Greenhorn
+ Follow
since May 24, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nj toto

I use active bpel designer to make a simple bpel process based on the web services.In the middle of bpel process,there is an activity waiting for the input data of users.only if user input the data,the activity can invoke.
Because I want to show my bpel process to others, I think jsp page is a good method to show the bpel process,but I do not know how to create link between bpel and jsp page.
I expect when bpel process arrive at the step of needing user input data, the correspond jsp page will show in order that user can input data .
how to implement,please tell me ,thank you in advance.
15 years ago
I think there exist error in the client invoke code,because if I use another method ,the screen will show the true result.The another method is through entering the bpel procedure address at the IE url.The bpel procedure address is "http://10.10.136.124:8080/active-bpel/services/projectmanageService?method=projectmanage&invoke=true".
I think my code is not some error,so I do not use the tcpmonitor to watch the soap request.Tonight I will use tcpmonitor to watch the detail soap request to see if there are some strange.
15 years ago
I made a simple bpel procedure based on web service.
when I finished the bpel procedure, I release the bpel process on the tomcat.then I start tomcat engine, use the bpel address while give the operation name and parameters & values, the screen show the right result.
But when I use another method to invoke the bpel procedure ,there exist an error, I do not how to do with .
client invoke src code is as below:
import java.io.*;
import java.net.*;
import java.util.*;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
import org.apache.axis.server.AxisServer;
import org.apache.axis.MessageContext;
import org.apache.axis.description.OperationDesc;
import org.apache.axis.Message;
import org.apache.axis.encoding.XMLType;
import org.xml.sax.*;
import javax.xml.rpc.ParameterMode;

public class Customer

{
public static void main(String[] args) throws Exception
{
boolean tt=true;
String endpoint = "http://10.10.136.124:8080/active-bpel/services/projectmanageService";
String operationName = "projectmanage";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new java.net.URL(endpoint));
call.setOperationName(operationName);
call.addParameter( "invoke", XMLType.XSD_BOOLEAN, ParameterMode.IN );
call.invoke( new Object[] {new Boolean(tt)} );
}
}
the error exist is:
org.xml.sax.SAXException: Bad types (class java.lang.String -> class java.math.B:igInteger),

do you have the same question as me? If you have solved this problem ,please tell me the answer.thank you.
15 years ago
Today I meet this problem,but I do not know how to deal with this problem.
If you know this result,please tell me ,thanks a lot .
my detail error is like these:
Exception in thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (class java.lang.String ->
class java.math.BigInteger)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:anmei

org.xml.sax.SAXException: Bad types (class java.lang.String -> class java.math.B
igInteger)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
15 years ago