Git Product home page Git Product logo

sudzc's People

Contributors

jkichline avatar karlsburg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sudzc's Issues

can't visit sudzc.com

Hi, I can't visit sudzc.com. Is there any way to deploy this website using the source code?

SOAPDictionary

Hi,
I downloaded the website and hosted it locally. Then I could generate code for internal web services. The first time it worked. But now I have code generated that inherit from SoapDictionary, but this SoapDictionary is not in the source code any longer?
Can you help please.

god bless you!

Soap.m deserialize method can't handle xsi:type ??

  • (id) deserialize: (CXMLNode*) element does' not handle elements which have xsi:type but not generic !

try deserialize below line:
<ns2:lastInvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns3:upcInvoice">

here is fail:
NSString* value = [element stringValue];
if ([type rangeOfString:@":"].length > 0) {
type = [[type substringFromIndex:[type rangeOfString:@":"].location+1] lowercaseString];
}

[...] here are checks for generic types

and finally we want to return Class or Dictionary:
// Return as a dictionary
if(value == nil) {
NSString* prefix = @"";
if([Soap respondsToSelector:@selector(prefix)]) {
prefix = [Soap performSelector:@selector(prefix)];
}
Class cls = NSClassFromString([NSString stringWithFormat:@"%@%@", prefix, type]);
if(cls != nil ) {
return [cls newWithNode:element];
} else {
return [Soap deserializeAsDictionary:element];
}
}

but "value" is not "nil" !!!

what can do ?

maybe:
if ( [element children] && [element children].count > 1) {
return [Soap deserializeAsDictionary:element];
}

just before last else with:

return value; //we mean that this is string... why ?

??

soap:Fault not recognized as fault

I'm trying to catch a SoapFault returned by my server, but it isn't recognized as such. Instead, it returns a result of nil.

I'm getting this xml back from the server:

<CXMLDocument 0x6b60210 [0x688fc40]> <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Client</faultcode>
            <faultstring>System.Web.Services.Protocols.SoapException: joynerror,Security,100,"Access denied"
               at Joyn.WebServices.AccountServices.Login(String userName, String password, Boolean createPersistantCookie)</faultstring>
            <faultactor>cosevenFault</faultactor>
            <detail>
                <errorNamespace>Security</errorNamespace>
                <errorCode>100</errorCode>
                <errorMessage>joynerror,Security,100,"Access denied"</errorMessage>
                <errorDetails/>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

It gets passed into SoapFault::faultWithXMLDocument: which tries to get the fault's XML element with [Soap getNode: [document rootElement] withName: @"Fault"]. This doesn't work though, since "soap:Fault" doesn't get recognized as the same as "Fault".

How can I work around this? Can I add a namespace somehow? My code works if I change line 26 in SoapFault.m to return [SoapFault faultWithXMLElement: [Soap getNode: [document rootElement] withName: @"soap:Fault"]];, but it seems hacky, and I'm afraid I might break something.

Call to a member function getAttribute() on a non-object.

Trying to create eh objc-c wsdl code from this site:
https://www.ilportaledellautomobilista.it/http://voas.ilportaledellautomobilista.it:7777/PortaleFacade/SmartphoneAutenticazione?wsdl

using http://sudzc.com/convert.php

i get this error:

Fatal error: Call to a member function getAttribute() on a non-object in /var/www/sudzc.com/public_html/sudzc/Website/php/assets/classes/converter.class.php on line 390.

Any help? It's a problem of the wsdl or from the converter.class.php?

EXC_BAD_ACCESS when soap service returns data

This error happens using XCode 5.1, IOS 7.1, 64 Bit device

SoapRequest.m, at line 181:

objc_msgSend(self.handler, self.action, output);

an EXC_BAD_ACCESS is thrown in the called selector.

Apparently, it works removing OBJC_SEND and using:

[self.handler performSelectorOnMainThread:self.action withObject:output waitUntilDone:YES ];

Code generation for OutDTOs ignores Array

Hi

I need to integrate a Webservice which I cannot manipulate/patch. This webservice returns me a list of available items (DocumentBox) as you can see in the upload:
image

The code that is generated base on my WSDL does not define an array for the object "DocumentBoxArray" instead it is a "DocumentBox". And therefore i don't get all the items in the response, only the first one. That makes sense as the WSDL defines it as such.

Is there a way to patch the code generation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.