class Openwsman::Soap
Public Instance Methods
Source
SWIGINTERN VALUE
_wrap_Soap_context(int argc, VALUE *argv, VALUE self) {
struct __Soap *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
WsContextH result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p___Soap, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __Soap *","context", 1, self ));
}
arg1 = (struct __Soap *)(argp1);
result = (WsContextH)__Soap_context(arg1);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WS_CONTEXT, 0 | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_Soap_create_context(int argc, VALUE *argv, VALUE self) {
struct __Soap *arg1 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
WsContextH result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p___Soap, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __Soap *","create_context", 1, self ));
}
arg1 = (struct __Soap *)(argp1);
result = (WsContextH)__Soap_create_context(arg1);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WS_CONTEXT, 0 | 0 );
return vresult;
fail:
return Qnil;
}
Source
SWIGINTERN VALUE
_wrap_Soap_create_ep_context(int argc, VALUE *argv, VALUE self) {
struct __Soap *arg1 = 0 ;
WsXmlDocH arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
WsContextH result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p___Soap, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct __Soap *","create_ep_context", 1, self ));
}
arg1 = (struct __Soap *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__WsXmlDoc, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "WsXmlDocH","create_ep_context", 2, argv[0] ));
}
arg2 = (WsXmlDocH)(argp2);
result = (WsContextH)__Soap_create_ep_context(arg1,arg2);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__WS_CONTEXT, 0 | 0 );
return vresult;
fail:
return Qnil;
}