You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2003/10/24 11:13:08 UTC
cvs commit: ws-axis/c/src/server/samples/interoptests/groupB InteropTestPortTypeBWrapper.cpp SOAPStructStruct.cpp
damitha 2003/10/24 02:13:08
Modified: c/src/client/samples/interoptests/base
InteropTestPortType.cpp
c/src/client/samples/interoptests/groupB
InteropTestPortTypeB.cpp
c/src/server/samples/interoptests/groupB
InteropTestPortTypeBWrapper.cpp
SOAPStructStruct.cpp
Log:
consider the code portion below.
pIWSDZ->GetObject((void*) (AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStruct
, (void*) (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStruct, (void*) (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStruct
, Axis_TypeName_SOAPStruct, Axis_URI_SOAPStruct);
In linux you need void pointer cast as shown fixed.
Revision Changes Path
1.5 +1 -1 ws-axis/c/src/client/samples/interoptests/base/InteropTestPortType.cpp
Index: InteropTestPortType.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/client/samples/interoptests/base/InteropTestPortType.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- InteropTestPortType.cpp 24 Oct 2003 08:29:19 -0000 1.4
+++ InteropTestPortType.cpp 24 Oct 2003 09:13:08 -0000 1.5
@@ -20,7 +20,7 @@
m_pCall = new Call();
m_pCall->SetProtocol(APTHTTP);
m_pCall->SetHeader("SOAPAction", "InteropBase");
- m_pCall->SetEndpointURI("http://localhost:5555/axis/InteropBase");
+ m_pCall->SetEndpointURI("http://localhost:80/axis/InteropBase");
}
InteropTestPortType::~InteropTestPortType()
1.4 +1 -1 ws-axis/c/src/client/samples/interoptests/groupB/InteropTestPortTypeB.cpp
Index: InteropTestPortTypeB.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/client/samples/interoptests/groupB/InteropTestPortTypeB.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- InteropTestPortTypeB.cpp 24 Oct 2003 08:29:19 -0000 1.3
+++ InteropTestPortTypeB.cpp 24 Oct 2003 09:13:08 -0000 1.4
@@ -32,7 +32,7 @@
m_pCall = new Call();
m_pCall->SetProtocol(APTHTTP);
m_pCall->SetHeader("SOAPAction", "InteropGroupB");
- m_pCall->SetEndpointURI("http://localhost:5555/axis/InteropGroupB");
+ m_pCall->SetEndpointURI("http://localhost:80/axis/InteropGroupB");
}
InteropTestPortTypeB::~InteropTestPortTypeB()
1.3 +6 -6 ws-axis/c/src/server/samples/interoptests/groupB/InteropTestPortTypeBWrapper.cpp
Index: InteropTestPortTypeBWrapper.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/samples/interoptests/groupB/InteropTestPortTypeBWrapper.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- InteropTestPortTypeBWrapper.cpp 23 Oct 2003 08:26:33 -0000 1.2
+++ InteropTestPortTypeBWrapper.cpp 24 Oct 2003 09:13:08 -0000 1.3
@@ -87,8 +87,8 @@
mc->getSoapDeSerializer(&pIWSDZ);
if (!pIWSDZ) return FAIL;
pIWSSZ->createSoapMethod("echoStructAsSimpleTypesResponse", pIWSSZ->getNewNamespacePrefix(), "http://soapinterop.org/");
- SOAPStruct *v0 = (SOAPStruct*)pIWSDZ->GetObject((AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStruct
- , (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStruct, (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStruct
+ SOAPStruct *v0 = (SOAPStruct*)pIWSDZ->GetObject((void*) (AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStruct
+ , (void*) (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStruct, (void*) (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStruct
, Axis_TypeName_SOAPStruct, Axis_URI_SOAPStruct);
string outValue0;
int outValue1;
@@ -154,8 +154,8 @@
mc->getSoapDeSerializer(&pIWSDZ);
if (!pIWSDZ) return FAIL;
pIWSSZ->createSoapMethod("echoNestedStructResponse", pIWSSZ->getNewNamespacePrefix(), "http://soapinterop.org/");
- SOAPStructStruct *v0 = (SOAPStructStruct*)pIWSDZ->GetObject((AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStructStruct
- , (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStructStruct, (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStructStruct
+ SOAPStructStruct *v0 = (SOAPStructStruct*)pIWSDZ->GetObject( (void*) (AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStructStruct
+ , (void*) (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStructStruct, (void*) (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStructStruct
, Axis_TypeName_SOAPStructStruct, Axis_URI_SOAPStructStruct);
SOAPStructStruct *ret = pWs->echoNestedStruct(v0);
return pIWSSZ->AddOutputParam("echoNestedStructReturn", ret, (void*)Axis_Serialize_SOAPStructStruct, (void*)Axis_Delete_SOAPStructStruct);
@@ -174,8 +174,8 @@
mc->getSoapDeSerializer(&pIWSDZ);
if (!pIWSDZ) return FAIL;
pIWSSZ->createSoapMethod("echoNestedArrayResponse", pIWSSZ->getNewNamespacePrefix(), "http://soapinterop.org/");
- SOAPArrayStruct *v0 = (SOAPArrayStruct*)pIWSDZ->GetObject((AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPArrayStruct
- , (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPArrayStruct, (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPArrayStruct
+ SOAPArrayStruct *v0 = (SOAPArrayStruct*)pIWSDZ->GetObject((void*) (AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPArrayStruct
+ , (void*) (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPArrayStruct, (void*) (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPArrayStruct
, Axis_TypeName_SOAPArrayStruct, Axis_URI_SOAPArrayStruct);
SOAPArrayStruct *ret = pWs->echoNestedArray(v0);
return pIWSSZ->AddOutputParam("echoNestedArrayReturn", ret, (void*)Axis_Serialize_SOAPArrayStruct, (void*)Axis_Delete_SOAPArrayStruct);
1.2 +2 -2 ws-axis/c/src/server/samples/interoptests/groupB/SOAPStructStruct.cpp
Index: SOAPStructStruct.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/server/samples/interoptests/groupB/SOAPStructStruct.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SOAPStructStruct.cpp 21 Oct 2003 15:09:05 -0000 1.1
+++ SOAPStructStruct.cpp 24 Oct 2003 09:13:08 -0000 1.2
@@ -49,8 +49,8 @@
param->varString = pIWSDZ->GetString();
param->varInt = pIWSDZ->GetInt();
param->varFloat = pIWSDZ->GetFloat();
- param->varStruct = (SOAPStruct*)pIWSDZ->GetObject((AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStruct
- , (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStruct, (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStruct
+ param->varStruct = (SOAPStruct*)pIWSDZ->GetObject((void*) (AXIS_DESERIALIZE_FUNCT)Axis_DeSerialize_SOAPStruct
+ , (void*) (AXIS_OBJECT_CREATE_FUNCT)Axis_Create_SOAPStruct, (void*) (AXIS_OBJECT_DELETE_FUNCT)Axis_Delete_SOAPStruct
, Axis_TypeName_SOAPStruct, Axis_URI_SOAPStruct);
return SUCCESS;
}